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
8 lines
311 B
YAML
8 lines
311 B
YAML
# tests for strings qualified by back-ticks are surrounded by spaces or punctuation
|
|
extends: existence
|
|
message: 'The code term should be followed by a space or punctuation.'
|
|
link: https://angular.io/guide/docs-style-guide#when-to-use-code-font
|
|
level: error
|
|
scope: raw
|
|
tokens:
|
|
- '\s\x60[^\x60]+\x60[^ .;\n\r]'
|