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