14 lines
277 B
YAML
14 lines
277 B
YAML
extends: existence
|
|
message: "Don't use end punctuation in headings."
|
|
link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
|
|
nonword: true
|
|
level: warning
|
|
scope: heading
|
|
action:
|
|
name: edit
|
|
params:
|
|
- trim_right
|
|
- ".?!"
|
|
tokens:
|
|
- '[a-z][.?!](?:\s|$)'
|