mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
10 lines
271 B
YAML
10 lines
271 B
YAML
# adapted from Google style library
|
|
extends: existence
|
|
message: "Use 'AM' or 'PM' and precede it with a space."
|
|
link: 'https://developers.google.com/style/word-list'
|
|
level: error
|
|
nonword: true
|
|
tokens:
|
|
- '\d{1,2}[AP]M'
|
|
- '\d{1,2} ?[ap]m'
|
|
- '\d{1,2} ?[aApP]\.[mM]\.'
|