mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
19 lines
558 B
YAML
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
|