brew/docs/vale-styles/Homebrew/Abbreviations.yml
2024-05-01 11:35:21 +02:00

19 lines
558 B
YAML

---
extends: substitution
message: Use '%s' instead of '%s'.
ignorecase: false
link: "https://github.com/Homebrew/brew/blob/HEAD/docs/Prose-Style-Guidelines.md#style-and-usage"
level: error
nonword: true
swap:
'\beg\b': e.g.
'\bie\b': i.e.
'e\.g\.,': e.g.
'i\.e\.,': i.e.
'(?<!^\{.*|\.|<)\borg\b': organisation
'(?<!^\{.*)\borgs\b': organisations
'(?<!^\{.*|<|\{#)\brepo\b': repository # FIXME: https://github.com/errata-ai/vale/issues/818
'(?<!^\{.*)\brepos\b': repositories
'\bivar\b': instance variable
'\bivars\b': instance variables