Repository navigation
Expand file tree
/
Copy path.vale.ini
More file actions
47 lines (40 loc) · 1.65 KB
/
Copy path.vale.ini
File metadata and controls
47 lines (40 loc) · 1.65 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
37
38
39
40
41
42
43
44
45
46
47
StylesPath = styles
MinAlertLevel = warning
Vocab = Spacefast
[formats]
mdx = md
[*.{md,mdx}]
BasedOnStyles = Vale, Spacefast
; Spacefast.Spelling wraps Vale.Spelling with a technical-term ignore list.
Vale.Spelling = NO
; MDX/ESM lines and self-closing component tags are not prose. Children of
; paired components (<Card>…</Card>) ARE prose and stay linted.
BlockIgnores = (?m)^(?:import|export)\s.+$, (?m)^<[A-Z][A-Za-z]*[^>]*/>$
; Inline component props and template placeholders, plus the one sanctioned
; fixed phrase from the monorepo vocabulary registry: "OAuth access token"
; (protocol vocabulary, not the product credential). Quoted API enum identifiers
; remain identifiers even when the source description doesn't backtick them.
TokenIgnores = (\{[^}\n]+\}), (<[A-Z][A-Za-z]*[^>]*/>), (OAuth access tokens?), ("(?:asc|dt)")
; The changelog is a historical record: shipped release notes keep their
; wording, but public-safety and brand casing still apply retroactively.
[content/(reference)/changelog/**]
BasedOnStyles = Spacefast
Spacefast.Spelling = NO
Spacefast.AISpeak = NO
Spacefast.Hype = NO
Spacefast.Wordiness = NO
Spacefast.Condescension = NO
Spacefast.ApiKey = NO
Spacefast.Hosting = NO
; Generated error pages are a verified snapshot synced from the monorepo, and
; the OpenAPI prose extraction reads generated/openapi. Both stay exempt from
; the "hosting" rule until the snapshot is refreshed with the monorepo fixes;
; then remove these carve-outs.
[content/(reference)/errors/**]
BasedOnStyles = Vale, Spacefast
Vale.Spelling = NO
Spacefast.Hosting = NO
[*openapi-prose.md]
BasedOnStyles = Vale, Spacefast
Vale.Spelling = NO
Spacefast.Hosting = NO