2020-06-23 00:09:42 +05:30
|
|
|
---
|
2021-03-08 18:12:59 +05:30
|
|
|
# Error: gitlab.CurlStringsQuoted
|
2020-06-23 00:09:42 +05:30
|
|
|
#
|
2021-03-08 18:12:59 +05:30
|
|
|
# Ensures all code blocks using `curl` wrap URL strings in quotation marks.
|
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?://.*'
|