-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add comment syntax for switching styles (#772)
Individual styles can be switched on and off: ``` <!-- vale StyleName1 = YES --> <!-- vale StyleName2 = NO --> ``` For a rule to be effective both the rule and the style has to be enabled. `on` and `off` is accepted in addition to `YES` and `NO` ``` <!-- vale StyleName1 = on --> <!-- vale StyleName2 = off --> ``` Styles can be set (enabling them and switching off any other styles): ``` <!-- vale style = StyleName1 --> <!-- vale styles = StyleName1, StyleName2 --> ``` Co-authored-by: Joseph Kato <joseph@jdkato.io>
- Loading branch information
Showing
4 changed files
with
219 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters