Skip to content

Commit 4f51661

Browse files
EdwardAngertClaude
and
Claude
committed
fix: correct Vale configuration syntax error
- Move IgnoredScopes above syntax-specific section - Fix 'E100 [NewE201] Runtime error' in Vale check - Follow Vale INI file structure requirements - Add comment explaining core options placement 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8d243c1 commit 4f51661

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/docs/vale/.vale.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ StylesPath = styles
44
# Minimum alert level
55
MinAlertLevel = suggestion
66

7+
# Core options - must be defined before syntax-specific options
8+
IgnoredScopes = code, tt, pre
9+
IgnoredClasses = language-*, MathJax*
10+
711
# Global configuration
812
[*]
913
# Enable Coder's custom styles
@@ -14,8 +18,4 @@ Vale.Spelling = NO
1418

1519
# Ignore code blocks, inline code, and frontmatter
1620
BlockIgnores = (?s)```(.|\n)*?```
17-
TokenIgnores = (`[^`]+`)
18-
19-
# Exclude generated files and temporary files
20-
IgnoredScopes = code, tt, pre
21-
IgnoredClasses = language-*, MathJax*
21+
TokenIgnores = (`[^`]+`)

0 commit comments

Comments
 (0)