Skip to content

Commit 80257f8

Browse files
EdwardAngertclaude
andcommitted
fix: remove invalid 'exceptions' key from Vale SentenceLength rule
- Remove unsupported 'exceptions' key from SentenceLength.yml - Fix Vale E201 validation error with invalid keys - Add comment explaining how to handle exemptions properly - Ensure Vale can properly validate documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4f51661 commit 80257f8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/docs/vale/styles/Coder/SentenceLength.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,5 @@ metrics:
1010
min: 10
1111
max: 200 # More generous limit than standard guides
1212

13-
# Exemptions for specific types of content that may have longer sentences
14-
exceptions:
15-
- code blocks
16-
- command explanations
17-
- configuration examples
18-
- URLs
13+
# Note: Exemptions can be handled via TokenIgnores in .vale.ini
14+
# Comment this section as the 'exceptions' key is not valid for the metric extension

0 commit comments

Comments
 (0)