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
16 lines
283 B
YAML
16 lines
283 B
YAML
# adapted from Google style library
|
|
extends: existence
|
|
message: "'%s' doesn't need a hyphen."
|
|
link: 'https://developers.google.com/style/hyphens'
|
|
level: error
|
|
ignorecase: false
|
|
nonword: true
|
|
action:
|
|
name: edit
|
|
params:
|
|
- replace
|
|
- '-'
|
|
- ' '
|
|
tokens:
|
|
- '\s[^\s-]+ly-'
|