debian-mirror-gitlab/doc/.vale/gitlab/CurlStringsQuoted.yml

14 lines
471 B
YAML
Raw Normal View History

2020-06-23 00:09:42 +05:30
---
# Warning: gitlab.CurlStringsQuoted
#
2021-01-29 00:20:46 +05:30
# Ensures all code blocks using curl quote any URL strings.
2020-06-23 00:09:42 +05:30
#
2020-07-28 23:09:34 +05:30
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
2020-06-23 00:09:42 +05:30
extends: existence
2021-01-29 00:20:46 +05:30
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
2021-02-22 17:27:13 +05:30
level: error
2020-06-23 00:09:42 +05:30
scope: code
raw:
- 'curl.*[^"=]https?://.*'