diff options
Diffstat (limited to 'doc/.vale/gitlab/Units.yml')
-rw-r--r-- | doc/.vale/gitlab/Units.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/Units.yml b/doc/.vale/gitlab/Units.yml new file mode 100644 index 00000000000..4211fdee38b --- /dev/null +++ b/doc/.vale/gitlab/Units.yml @@ -0,0 +1,15 @@ +--- +# Suggestion: gitlab.Units +# +# Recommends a space between a number and a unit of measure. +# +# For a list of all options, see https://vale.sh/docs/topics/styles/ +extends: existence +message: "Add a space between the number and the unit in '%s'." +link: 'https://docs.gitlab.com/ee/development/documentation/styleguide/' +nonword: true +level: suggestion +ignorecase: true +tokens: + - \d+(?:B|kB|KiB|MB|MiB|GB|GiB|TB|TiB) + - \d+(?:ns|ms|μs|s|min|h|d) |