[vale] Add some vale styles and an ini file
This commit is contained in:
7
vale/.vale-styles/Google/OxfordComma.yml
Normal file
7
vale/.vale-styles/Google/OxfordComma.yml
Normal file
@ -0,0 +1,7 @@
|
||||
extends: existence
|
||||
message: "Use the Oxford comma in '%s'."
|
||||
link: 'https://developers.google.com/style/commas'
|
||||
scope: sentence
|
||||
level: warning
|
||||
tokens:
|
||||
- '(?:[^,]+,){1,}\s\w+\s(?:and|or)'
|
||||
Reference in New Issue
Block a user