Files
ray-project--ray/.vale/styles/Google/Acronyms.yml
T
2026-07-13 13:17:40 +08:00

80 lines
940 B
YAML

extends: conditional
message: "Spell out '%s', if it's unfamiliar to the audience."
link: 'https://developers.google.com/style/abbreviations'
level: error
ignorecase: false
# Ensures that the existence of 'first' implies the existence of 'second'.
first: '\b([A-Z]{3,5})\b'
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
# ... with the exception of these:
exceptions:
- API
- ASP
- AWS
- CLI
- CPU
- CRD
- CSS
- CSV
- CUDA
- DEBUG
- DOM
- DPI
- DRF
- ETL
- FAQ
- GCC
- GCE
- GCP
- GCS
- GDB
- GET
- GPU
- GTK
- GUI
- HTML
- HTTP
- HTTPS
- IDE
- JAR
- JSON
- JSONL
- JSX
- KAI
- LESS
- LLDB
- MPS
- NET
- NFS
- NIXL
- NOTE
- NVDA
- OSS
- PATH
- PDF
- PHP
- PNG
- POST
- RAM
- RAG
- REPL
- RSA
- SCM
- SCSS
- SDK
- SQL
- SSH
- SSL
- SVG
- TBD
- TCP
- TODO
- URI
- URL
- USB
- UTF
- XML
- XSS
- YAML
- ZIP