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
14 lines
346 B
YAML
14 lines
346 B
YAML
# adapted from Google style library
|
|
extends: occurrence
|
|
message: 'Only one title is allowed per topic'
|
|
link: https://angular.io/guide/docs-style-guide#title
|
|
level: error
|
|
# Here, we're counting the number of times a comma appears
|
|
# in a sentence.
|
|
#
|
|
# If it occurs more than 3 times, we'll flag it.
|
|
scope: raw
|
|
ignorecase: false
|
|
max: 1
|
|
token: '^# '
|