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
13 lines
267 B
YAML
13 lines
267 B
YAML
# adapted from Google style library
|
|
extends: existence
|
|
message: "Don't put a space before or after a dash."
|
|
link: 'https://developers.google.com/style/dashes'
|
|
nonword: true
|
|
level: error
|
|
action:
|
|
name: edit
|
|
params:
|
|
- remove
|
|
- ' '
|
|
tokens:
|
|
- '\s[—–]\s'
|