Files
mintlify__docs/.vale.ini
Ethan Palm 020cd9dfea Resolve vale errors (#1270)
* don't lint inside curly brackets

* fix Vale errors

* false erroring on the word `information`
2025-09-24 14:38:35 -07:00

38 lines
854 B
INI

# Vale configuration for Mintlify documentation
StylesPath = .vale/styles
MinAlertLevel = suggestion
IgnoredScopes = code, tt, img, url, a
SkippedScopes = script, style, pre, figure, code
Packages = Google
Vocab = Mintlify
# This is required since Vale doesn't officially support MDX
[formats]
mdx = md
# MDX support
[*.mdx]
BasedOnStyles = Vale, Google
Vale.Terms = NO # Enforces really harsh capitalization rules, keep off
Vale.Avoid = NO # Too aggressive about common technical terms
# Token and block ignores for MDX-specific syntax
TokenIgnores = (?sm)((?:import|export) .+?$), \
(?<!`)(<\w+ ?.+ ?\/>)(?!`), \
(<[A-Z]\w+>.+?<\/[A-Z]\w+>), \
(<[^>]*>), \
\{[^}]*\}, \
(`[^`]*`), \
(```[\s\S]*?```)
BlockIgnores = (?sm)^(<\w+\n .*\s\/>)$, \
(?sm)^({.+.*})$, \
(?sm)^```[\s\S]*?```$
CommentDelimiters = {/*, */}
[changelog.mdx]
BasedOnStyles =