diff options
Diffstat (limited to 'public/vale/.vale-styles/Google/Units.yml')
-rw-r--r-- | public/vale/.vale-styles/Google/Units.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Google/Units.yml b/public/vale/.vale-styles/Google/Units.yml new file mode 100644 index 0000000..379fad6 --- /dev/null +++ b/public/vale/.vale-styles/Google/Units.yml @@ -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) |