14 lines
299 B
YAML
14 lines
299 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:
|
|
- remove
|
|
- '.'
|
|
tokens:
|
|
- '[a-z0-9][.]\s*$'
|