[vale] Add some vale styles and an ini file
This commit is contained in:
8
vale/.vale-styles/Google/Units.yml
Normal file
8
vale/.vale-styles/Google/Units.yml
Normal file
@ -0,0 +1,8 @@
|
||||
extends: existence
|
||||
message: "Put a nonbreaking space between the number and the unit in '%s'."
|
||||
link: 'https://developers.google.com/style/units-of-measure'
|
||||
nonword: true
|
||||
level: error
|
||||
tokens:
|
||||
- \d+(?:B|kB|MB|GB|TB)
|
||||
- \d+(?:ns|ms|s|min|h|d)
|
||||
Reference in New Issue
Block a user