-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.vale.ini
More file actions
31 lines (25 loc) · 782 Bytes
/
.vale.ini
File metadata and controls
31 lines (25 loc) · 782 Bytes
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
# Top level styles
StylesPath=.github/vale
MinAlertLevel = suggestion
IgnoredScopes = code, tt, img, url, a
SkippedScopes = script, style, pre, figure, code, comment.line, comment.block
# Vocabularies
Vocab = Mintlify, PowerSync
# This is required since Vale doesn't officially support MDX
[formats]
mdx = md
# MDX support
[*.mdx]
BasedOnStyles = Vale
Vale.Terms = NO # Enforces really harsh capitalization rules, keep off
TokenIgnores = (?sm)((?:import|export) .+?$), \
(?<!`)(<\w+ ?.+ ?\/>)(?!`), \
(<[A-Z]\w+>.+?<\/[A-Z]\w+>), \
(``[^`]+``), \
(`[^`]+`), \
(_[A-Za-z][^_\n]*?_)
# Exclude fenced code blocks (including indented ones inside JSX) and JSX:
BlockIgnores = (?sm)^\s*```[\s\S]*?^\s*```\s*$, \
(?sm)^(<\w+\n .*\s\/>)$, \
(?sm)^({.+.*})
CommentDelimiters = {/*, */}