-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy path.vale.ini
More file actions
38 lines (32 loc) · 870 Bytes
/
.vale.ini
File metadata and controls
38 lines (32 loc) · 870 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
32
33
34
35
36
37
38
# Top level styles
StylesPath = ./vale
MinAlertLevel = suggestion
IgnoredScopes = code, tt, img, url, a
SkippedScopes = script, style, pre, figure, code
# Vocabularies
Vocab = Mintlify, Discord
# 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
# `import ...`, `export ...`
# `<Component ... />`
# `<Component>...</Component>`
# `{ ... }`
# Words with underscores
# Markdown links [text](url)
# Content within square brackets (markdown link text)
TokenIgnores = (?sm)((?:import|export) .+?$), \
(?<!`)(<\w+ ?.+ ?\/>)(?!`), \
(<[A-Z]\w+>.+?<\/[A-Z]\w+>), \
(\w*_\w*), \
(\[.+?\]\(.+?\)), \
(\[.+?\])
# Exclude:
# `<Component \n ... />`
BlockIgnores = (?sm)^(<\w+\n .*\s\/>)$, \
(?sm)^({.+.*})
CommentDelimiters = {/*, */}