
- I added these all the way back in December 2019 in #6826, but only today realised that things have been failing unnoticeably because "warning" level exits with status code 0, so doesn't fail CI. - Upgrading to "error" level will enable us to see the style errors in our docs and fix them faster. - My editor also auto-formatted the YAML to have double quotes instead of single.
13 lines
263 B
YAML
13 lines
263 B
YAML
---
|
|
extends: substitution
|
|
message: Use '%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.
|