Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/.vale/gitlab/Zip.yml')
-rw-r--r--doc/.vale/gitlab/Zip.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/Zip.yml b/doc/.vale/gitlab/Zip.yml
new file mode 100644
index 00000000000..69ff980b822
--- /dev/null
+++ b/doc/.vale/gitlab/Zip.yml
@@ -0,0 +1,15 @@
+---
+# Warning: gitlab.Zip
+#
+# Recommends all instances of something.zip be wrapped in backticks
+# due to the .zip top-level domain
+#
+# For a list of all options, see https://vale.sh/docs/topics/styles/
+extends: existence
+message: "Wrap '%s' in backticks to prevent unintentional links to .zip domain names."
+link: 'https://docs.gitlab.com/ee/development/documentation/styleguide/index.md#backticks-in-markdown'
+nonword: true
+level: error
+ignorecase: true
+tokens:
+ - '\b\w*\.zip'