debian-mirror-gitlab/doc/.vale/gitlab/CurlStringsQuoted.yml
2021-01-29 00:20:46 +05:30

14 lines
473 B
YAML

---
# Warning: gitlab.CurlStringsQuoted
#
# Ensures all code blocks using curl quote any URL strings.
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence
message: 'For consistency across all cURL examples, always wrap the URL in double quotes ("): %s'
link: https://docs.gitlab.com/ee/development/documentation/restful_api_styleguide.html#curl-commands
level: warning
scope: code
raw:
- 'curl.*[^"=]https?://.*'