summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/CurlStringsQuoted.yml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/.vale/gitlab/CurlStringsQuoted.yml')
-rw-r--r--doc/.vale/gitlab/CurlStringsQuoted.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/CurlStringsQuoted.yml b/doc/.vale/gitlab/CurlStringsQuoted.yml
new file mode 100644
index 00000000000..4fcb0069423
--- /dev/null
+++ b/doc/.vale/gitlab/CurlStringsQuoted.yml
@@ -0,0 +1,13 @@
+---
+# Warning: gitlab.CurlStringsQuoted
+#
+# Ensures all codeblocks using curl quote any URL strings.
+#
+# For a list of all options, see https://errata-ai.github.io/vale/styles/
+extends: existence
+message: 'Curl commands must wrap URLs in double quotes ("): %s'
+link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#curl-commands
+level: warning
+scope: code
+raw:
+ - 'curl.*[^"=]https?://.*'