-
Notifications
You must be signed in to change notification settings - Fork 230
Expand file tree
/
Copy path.vale.ini
More file actions
42 lines (31 loc) · 773 Bytes
/
.vale.ini
File metadata and controls
42 lines (31 loc) · 773 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
39
40
41
42
# Vale configuration for Mintlify documentation
StylesPath = .vale/styles
MinAlertLevel = suggestion
IgnoredScopes = tt, img, url, a
SkippedScopes = script, style, pre, figure, code
Vocab = Mintlify
# This is required since Vale doesn't officially support MDX
[formats]
mdx = md
# MDX support
[*.mdx]
BasedOnStyles = Vale, Mintlify
# Token and block ignores for MDX-specific syntax
TokenIgnores = (?m)((?:import|export) .+?$), \
(?<!`)(<\w+ ?.+ ?\/>)(?!`), \
(<[A-Z]\w+>.+?<\/[A-Z]\w+>), \
(<[^>]*>), \
\{[^}]*\}, \
(`[^`]*`)
BlockIgnores = (?sm)^(<\w+\n .*\s\/>)$, \
(?sm)^({.+.*})$, \
(?sm)^```[\s\S]*?```$
CommentDelimiters = {/*, */}
[changelog.mdx]
BasedOnStyles = ""
[**/es/**]
BasedOnStyles = ""
[**/fr/**]
BasedOnStyles = ""
[**/zh/**]
BasedOnStyles = ""