2020-05-29 03:08:11 +00:00
|
|
|
---
|
2020-06-09 15:08:05 +00:00
|
|
|
# Warning: gitlab.CurlStringsQuoted
|
2020-05-29 03:08:11 +00:00
|
|
|
#
|
|
|
|
# Ensures all codeblocks using curl quote any URL strings.
|
|
|
|
#
|
2020-06-24 06:09:01 +00:00
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
2020-05-29 03:08:11 +00:00
|
|
|
extends: existence
|
2020-10-28 06:08:59 +00:00
|
|
|
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
|
2020-05-29 03:08:11 +00:00
|
|
|
level: warning
|
|
|
|
scope: code
|
|
|
|
raw:
|
|
|
|
- 'curl.*[^"=]https?://.*'
|