-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.vale.ini
More file actions
36 lines (28 loc) · 1.1 KB
/
Copy path.vale.ini
File metadata and controls
36 lines (28 loc) · 1.1 KB
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
StylesPath = ".vale/styles"
MinAlertLevel = suggestion
Vocab = docs
Packages = Google
IgnoredScopes = code, tt, img, url, a, link, blockquote
SkippedScopes = script, style, pre, figure, code
# MDX is parsed natively via the `mdx2vast` converter (install with
# `npm install -g mdx2vast`; it must be on $PATH when Vale runs). Vale gets a real
# MDX AST, so fenced code, inline code, URLs, JSX components/expressions, and ESM
# imports/exports are excluded automatically — no `mdx = md` mapping and no
# BlockIgnores/TokenIgnores regexes needed.
#
# Do NOT set `CommentDelimiters` here: in native MDX mode mdx2vast already handles
# `{/* vale off */}` / `{/* vale on */}` toggles itself, and adding the delimiter
# makes it double-parse the comment and abort the file with an E100 error.
[*.{md,mdx}]
BasedOnStyles = Google, docs
# Opinionated prose rules disabled as an editorial choice — noisy regardless of
# how the file is parsed.
Google.Passive = NO
Google.Acronyms = NO
Google.Headings = NO
Google.Parens = NO
Google.Colons = NO
Google.Ordinal = NO
Google.Will = NO
Google.EmDash = NO
Google.Semicolons = NO