[vale] Add some vale styles and an ini file
This commit is contained in:
13
vale/.vale-styles/Google/HeadingPunctuation.yml
Normal file
13
vale/.vale-styles/Google/HeadingPunctuation.yml
Normal file
@ -0,0 +1,13 @@
|
||||
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|$)'
|
||||
Reference in New Issue
Block a user