[vale] Add some vale styles and an ini file
This commit is contained in:
7
vale/.vale-styles/Google/Ranges.yml
Normal file
7
vale/.vale-styles/Google/Ranges.yml
Normal file
@ -0,0 +1,7 @@
|
||||
extends: existence
|
||||
message: "Don't add words such as 'from' or 'between' to describe a range of numbers."
|
||||
link: 'https://developers.google.com/style/hyphens'
|
||||
nonword: true
|
||||
level: warning
|
||||
tokens:
|
||||
- '(?:from|between)\s\d+\s?-\s?\d+'
|
||||
Reference in New Issue
Block a user