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
11 lines
398 B
YAML
11 lines
398 B
YAML
# adapted from Google style library
|
|
# note the complex regex for this is used to ignore HTML entities to find semicolons in normal text
|
|
extends: existence
|
|
message: 'Semicolons can indicate a complex sentence. Try rewriting this sentence as multiple sentences.'
|
|
link: 'https://developers.google.com/style/semicolons'
|
|
code: false
|
|
nonword: true
|
|
level: warning
|
|
raw:
|
|
- '[^A-Za-z&]((?!\&\w)([\S]+\;))'
|