-
Notifications
You must be signed in to change notification settings - Fork 484
/
.vale.ini
63 lines (57 loc) · 1.71 KB
/
.vale.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
StylesPath = ".github/vale/styles"
Vocab = "OpenSearch"
MinAlertLevel = warning
SkippedScopes = code, style
[formats]
markdown = md
[*.md]
BasedOnStyles = Vale, OpenSearch
BlockIgnores = {%-?\s*comment[.|\s|\S]*?endcomment\s*-?%}, \
{%\s*raw[.|\s|\S]*?endraw\s*%}, \
{:+\s*[\.\w-\s]*\s*}, \
{%\s+[^%]*%}, \
$$[^$]*$$
# ignore math and links and names starting with opensearch-
TokenIgnores = (\$+[^\n$]+\$+), \
opensearch((-\w+)+)
# and, optionally, variables in snake case or dot path
#TokenIgnores = [a-zA-Z_]+((?:_|\.)[a-zA-Z]+)+
# OpenSearch spelling overrides Vale spelling
Vale.Spelling = NO
# turn these on and off as needed
Vale.Terms = YES
Vale.Repetition = YES
OpenSearch.AdverbsOfTime = YES
OpenSearch.Ampersand = NO
OpenSearch.Cyber = YES
OpenSearch.DashSpacing = YES
OpenSearch.DirectionAboveBelow = NO
OpenSearch.DirectionTopBottom = NO
OpenSearch.FailoverNoun = YES
OpenSearch.FailoverVerb = YES
OpenSearch.HeadingCapitalization = NO
OpenSearch.Inclusive = YES
OpenSearch.LatinismsElimination = YES
OpenSearch.LatinismsSubstitution = YES
OpenSearch.LoginNoun = YES
OpenSearch.LoginVerb = YES
OpenSearch.LogoutNoun = YES
OpenSearch.LogoutVerb = YES
OpenSearch.OxfordComma = YES
OpenSearch.RolloverNoun = YES
OpenSearch.RolloverVerb = YES
OpenSearch.SetupNoun = YES
OpenSearch.SetupVerb = YES
OpenSearch.SignatureV4 = YES
OpenSearch.SpacingPunctuation = YES
OpenSearch.SpacingSlash = YES
OpenSearch.SpacingWords = YES
OpenSearch.Spelling = YES
OpenSearch.StackedHeadings = NO
OpenSearch.SubstitutionsError = YES
OpenSearch.SubstitutionsSuggestion = NO
OpenSearch.TableHeadings = YES
OpenSearch.TimeoutNoun = YES
OpenSearch.TimeoutVerb = YES
OpenSearch.UnitsNames = NO
OpenSearch.Version = NO