14 lines
303 B
YAML
14 lines
303 B
YAML
extends: existence
|
|
message: "Don't put a period at the end of a heading."
|
|
link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings"
|
|
nonword: true
|
|
level: warning
|
|
scope: heading
|
|
action:
|
|
name: edit
|
|
params:
|
|
- trim_right
|
|
- "."
|
|
tokens:
|
|
- '[a-z0-9][.]\s*$'
|