2019-12-09 18:42:14 +00:00
|
|
|
---
|
|
|
|
extends: substitution
|
2024-04-30 11:10:23 +02:00
|
|
|
message: Use '%s' instead of '%s'.
|
2019-12-09 18:42:14 +00:00
|
|
|
ignorecase: false
|
2020-10-17 21:47:58 +01:00
|
|
|
link: "https://github.com/Homebrew/brew/blob/HEAD/docs/Prose-Style-Guidelines.md#style-and-usage"
|
2019-12-09 18:42:14 +00:00
|
|
|
level: error
|
|
|
|
nonword: true
|
|
|
|
swap:
|
|
|
|
'\beg\b': e.g.
|
|
|
|
'\bie\b': i.e.
|
|
|
|
'e\.g\.,': e.g.
|
|
|
|
'i\.e\.,': i.e.
|
2024-04-30 11:10:23 +02:00
|
|
|
'(?<!^\{.*|\.|<)\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
|