# Vale configuration for TypeDialog documentation
# https://vale.sh/docs/topics/config/

StylesPath = .vale/styles
MinAlertLevel = warning

# Global settings
[*]
Packages = Google, write-good
Vocab = TypeDialog

# Markdown files: docs/**/*.md and root *.md (excluding .claude, .coder, CLAUDE.md)
[*.md]
BasedOnStyles = write-good, Google

# Ignore code blocks and specific patterns
TokenIgnores = (\$\{[^\}]+\}), (`[^`]+`), (\*\*[^\*]+\*\*)

# Disable noisy rules for technical documentation
Google.Headings = NO
Google.Parens = NO
Google.Acronyms = NO
Google.Passive = NO
Google.We = NO
Google.Will = NO
Google.WordList = NO
Google.Colons = NO

write-good.E-Prime = NO
write-good.TooWordy = NO
write-good.Passive = NO

Vale.Spelling = NO

# Keep enabled (useful for technical docs):
# - write-good.Weasel (vague words like "various")
# - Google.Contractions (maintain formal tone)
# - Google.FirstPerson (avoid "we/our")
# - Google.Exclamation
# - Google.Slang
# - Google.Units
