Files
angular__angular/aio/tools/doc-linter/styles/Angular/Google_OptionalPlurals.yml
Bob Watson bfddfe5622 docs: initial upload of styles used by doc linter (#46897)
Add the configuration and style files to support documentation linting. The `README.md` file includes instructions for installation and use of the lint tool.

PR Close #46897
2022-08-01 09:29:06 -07:00

14 lines
356 B
YAML

# adapted from Google style library
extends: existence
message: "Don't use an 's' in parentheses such as in '%s'. If it can be more than one, use the plural form without parentheses."
link: 'https://developers.google.com/style/plurals-parentheses'
level: error
nonword: true
action:
name: edit
params:
- remove
- '(s)'
tokens:
- '\b\w+\(s\)'