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
13 lines
388 B
YAML
13 lines
388 B
YAML
# adapted from Google style library
|
|
# test for parentheticals that don't contain all caps or
|
|
# a code referece to allow abbreviation definitions.
|
|
#
|
|
extends: existence
|
|
message: 'Use parentheses judiciously. Try to rewrite this sentence without them.'
|
|
link: 'https://developers.google.com/style/parentheses'
|
|
nonword: true
|
|
level: suggestion
|
|
scope: raw
|
|
raw:
|
|
- '\\\([^`\)]+(?<![A-Z])\\\)'
|