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
414 B
YAML
10 lines
414 B
YAML
# adapted from Google style library
|
|
extends: existence
|
|
message: "Use 'July 31, 2016' format, not '%s'."
|
|
link: 'https://developers.google.com/style/dates-times'
|
|
ignorecase: true
|
|
level: error
|
|
nonword: true
|
|
tokens:
|
|
- '\d{1,2}(?:\.|/)\d{1,2}(?:\.|/)\d{4}'
|
|
- '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}'
|