Skip to content

Commit e851099

Browse files
committed
add vale.ini
1 parent 41a7adb commit e851099

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.vale.ini

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Vale configuration for Mintlify documentation
2+
3+
StylesPath = .vale/styles
4+
MinAlertLevel = suggestion
5+
IgnoredScopes = code, tt, img, url, a
6+
SkippedScopes = script, style, pre, figure, code
7+
8+
Packages = Google
9+
10+
Vocab = Mintlify
11+
12+
# This is required since Vale doesn't officially support MDX
13+
[formats]
14+
mdx = md
15+
16+
# MDX support
17+
[*.mdx]
18+
BasedOnStyles = Vale, Google, Mintlify
19+
Vale.Terms = NO # Enforces really harsh capitalization rules, keep off
20+
Vale.Avoid = NO # Too aggressive about common technical terms
21+
22+
# Token and block ignores for MDX-specific syntax
23+
TokenIgnores = (?sm)((?:import|export) .+?$), \
24+
(?<!`)(<\w+ ?.+ ?\/>)(?!`), \
25+
(<[A-Z]\w+>.+?<\/[A-Z]\w+>)
26+
27+
BlockIgnores = (?sm)^(<\w+\n .*\s\/>)$, \
28+
(?sm)^({.+.*})
29+
30+
CommentDelimiters = {/*, */}

0 commit comments

Comments
 (0)