mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
bfddfe5622
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
15 lines
345 B
YAML
15 lines
345 B
YAML
# adapted from Google style library
|
|
extends: existence
|
|
message: "You don't need to put a period at the end of a heading."
|
|
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
|
|
nonword: true
|
|
level: error
|
|
scope: heading
|
|
action:
|
|
name: edit
|
|
params:
|
|
- remove
|
|
- '.'
|
|
tokens:
|
|
- '[a-z0-9][.]\s*$'
|