Skip to content

How to disable all rules for one sub-directory? #811

Answered by jdkato
marians asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to ignore a sub-directory entirely, then --glob is the way to do.

If you want to change or override config values for a certain sub-directory, you can do so with just the root .vale.ini file:

StylesPath = vale-styles

Packages = Hugo, Microsoft

[*.md]
MinAlertLevel = suggestion
BasedOnStyles = Vale, Microsoft

[content/bad/*.md]
Microsoft.Contractions = NO
Microsoft.We = NO
Vale.Spelling = NO

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@marians
Comment options

Answer selected by marians
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants