-
Notifications
You must be signed in to change notification settings - Fork 3
/
.vale.ini
26 lines (22 loc) · 1.06 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
StylesPath = docs/vale
MinAlertLevel = suggestion
Packages = alex, Google, proselint, write-good
Vocab = Go, Dogma, RFC2119, Technical
[*.{md,go}]
BasedOnStyles = alex, Google, proselint, write-good, Vale
Google.Passive = suggestion
Google.Quotes = no # complains about punctuation outside of quotes, which is acceptable when defining terms as is often the case in technical docs
Google.Spacing = no # complains about no space after period, as often occurs when referring to package members in Go docs
write-good.E-Prime = no
write-good.Passive = no # duplicate of Google.Passive
write-good.Weasel = suggestion
# ignore SemVer versions otherwise they trigger capitalization rules in headings
TokenIgnores = (\bv?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?\b)
[*.go]
Google.Parens = no
[*/adr/*.md]
# The language in ADRs is much more relaxed than other documentation.
alex.Condescending = no
Google.Passive = no
Google.We = no
Google.Will = no