Skip to content

Commit d12fcb3

Browse files
committed
Update Vale
1 parent 570c327 commit d12fcb3

12 files changed

+915
-1627
lines changed

.vale.ini

+22-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,27 @@ StylesPath = "vale/styles"
22

33
MinAlertLevel = suggestion
44

5+
Vocab = docs
6+
57
Packages = Google
68

7-
[*.mdx]
8-
BasedOnStyles = Vale, Google
9+
IgnoredScopes = code, tt, img, url, a
10+
11+
SkippedScopes = script, style, pre, figure, code
12+
13+
# Treat MDX as Markdown
14+
[formats]
15+
mdx = md
16+
17+
[*.{md, mdx}]
18+
19+
BasedOnStyles = Vale, Google, docs
20+
21+
# For now, ignore rules because they give too many false positives
22+
Google.Passive = NO
23+
Google.Acronyms = NO
24+
Google.Headings = NO
25+
Google.Parens = NO
26+
27+
# Ignore code surrounded by backticks or plus sign, parameters defaults, URLs, and angle brackets.
28+
# TokenIgnores = (<\/?[A-Z].+>), (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[)

0 commit comments

Comments
 (0)