summaryrefslogtreecommitdiff
path: root/.github/styles/Google/Units.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/Units.yml')
-rw-r--r--.github/styles/Google/Units.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/styles/Google/Units.yml b/.github/styles/Google/Units.yml
new file mode 100644
index 00000000..220de3e9
--- /dev/null
+++ b/.github/styles/Google/Units.yml
@@ -0,0 +1,7 @@
+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+(?:GB|TB|MB)