blog/vale-styles/Google/HeadingPunctuation.yml

14 lines
299 B
YAML
Raw Normal View History

2021-11-27 14:04:27 +01:00
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*$'