Vale styles and vocabulary for JSONLT specification and documentation projects.
- RFC2119-uppercase: Ensures RFC 2119 keywords (MUST, SHALL, SHOULD, MAY, etc.) are uppercase when used normatively
- RFC2119-passive: Warns when RFC 2119 keywords appear in passive voice constructions
- Testability-unmeasurable: Flags unmeasurable terms like "quickly", "efficiently", "user-friendly"
- Testability-vague: Flags vague terms that make requirements untestable like "appropriate", "reasonable", "as needed"
The JSONLT vocabulary includes project-specific terms:
- Technical terms:
canonicalization,shortname,fsync,reentrant, etc. - Project names:
JSONLT,jsonlt - People:
Erdtman,Rundgren
Add to your .vale.ini:
StylesPath = .vale
MinAlertLevel = warning
Vocab = JSONLT
Packages = https://github.com/jsonlt/vale-jsonlt/releases/latest/download/JSONLT.zip
[*.md]
BasedOnStyles = Vale, JSONLTThen run:
vale sync- Download the latest release from Releases
- Extract to your Vale styles directory
- Reference in your
.vale.ini
For specification documents:
[*.md]
BasedOnStyles = Vale, Google, write-good, proselint, JSONLTFor community documents (README, CONTRIBUTING, etc.):
[{CODE_OF_CONDUCT.md,CONTRIBUTING.md,README.md,SECURITY.md}]
BasedOnStyles = Vale, Google, write-good, proselint, JSONLT
Google.FirstPerson = NO
Google.Will = NO
proselint.Annotations = NOTo add project-specific terms, create your own vocabulary and combine with JSONLT:
Vocab = JSONLT, MyProject# Sync external Vale packages
just vale-sync
# Test against sample documents
vale path/to/document.mdThis project is licensed under the Creative Commons Attribution 4.0 International License.