angular/aio/tools/doc-linter/styles/Angular/Angular_TodoInText.yml
Bob Watson bfddfe5622 docs: initial upload of styles used by doc linter (#46897)
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
2022-08-01 09:29:06 -07:00

9 lines
267 B
YAML

# tests for TODO in text when NOT used in a sentence
extends: existence
message: 'Remove %s before publishing.'
link: https://angular.io/guide/docs-style-guide#when-to-use-code-font
level: error
ignorecase: true
scope: sentence
raw:
- (?<!\s)[Tt][Oo][Dd][Oo](?!\s)