v0.6.0 Adds support for distributed rulesets. #395
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for extending external rulesets, a feature requested by #254
Now rulesets can be extended easily using local files or remote files. vacuum also supports this feature recursively, which means entire chains of extension rulesets can be created.
The following syntax is now valid
Adds support for feature #278
Added new
-m
and -b
banner flags forlint
commandThe banner can now be disabled using the
-b
or—no-banner
flag, as well as the message output (when using-d
) can be disabled with the-m
or the—no-message
flags.Adds support for #284
The rule has been downgraded to a warning from an error.
Adds support for #293
New
-a
/—all-results
flag enables all result output #293Want to see everything when using
-d
, well now you can.Adds support for #318
message
now overrides all core function messages #318By adding a ‘message` property to a rule that uses a core function, any violations for that rule, will use the supplied message completely, vs the default output built into vacuum for that core function. This gives complete control over the message presented to users who violate the rule.
For example:
Results in this:
![Screenshot 2023-12-13 at 11 01 40 AM](https://private-user-images.githubusercontent.com/187345/290252180-044b2171-64e4-4cb4-bb0d-db4d9885aff1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzIwNjcsIm5iZiI6MTczOTA3MTc2NywicGF0aCI6Ii8xODczNDUvMjkwMjUyMTgwLTA0NGIyMTcxLTY0ZTQtNGNiNC1iYjBkLWRiNGQ5ODg1YWZmMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwMzI5MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNWIzYmIzMjJmM2I0MGM0NTQ5Mzk3ZWUyNDBhOGM3MzkzODM2MDQ0NGRiYWM3ZjI4NTczNDZlYWJmNzEyMTg0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.mb4OBkeMqDQV5h-Sz2cwL1Aanxbj6UFpkBUvhGUnG2s)
New
version
commandWill print out the current version
vacuum version