-
Notifications
You must be signed in to change notification settings - Fork 465
/
.vale.ini
35 lines (29 loc) · 1.02 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
StylesPath = vale
MinAlertLevel = suggestion
Vocab = CockroachDB
IgnoredClasses = release-note-contributors
[*.md]
BasedOnStyles = Vale, CockroachDB
vale.GenderBias = YES
vale.Hedging = NO
vale.Redundancy = NO
vale.Repetition = YES
vale.Uncomparables = YES
CockroachDB.Hyperbolic = NO
CockroachDB.HeadingsCase = NO
CockroachDB.Inclusivity = YES
CockroachDB.LocalizedLinks = YES
CockroachDB.OrderedLists = YES
CockroachDB.NondescriptLinkTitles = YES
# Custom block scoping (see the regex101 links for unit tests):
#
# Rule #1 (https://regex101.com/r/7VA2lV/2/tests): Ignore `<div>`s and `<section>`s
# that specify `markdown="1"` since it isn't supported by Vale's Markdown
# parser (https://github.com/russross/blackfriday/issues/184).
BlockIgnores = (?s)(<(?:div|section)[^>]*markdown="1"[^>]*>.*?</(?:div|section)>)
# Custom inline scoping:
#
# Rule #1: Ignore all Liquid tags.
TokenIgnores = (\{%.*?%\})|(\{\{.*?\}\})
# Rule #2: Ignore links of the form [cockroachdb/cockroach#123](...)
TokenIgnores = (\[cockroachdb/cockroach.*?\])