13 lines
429 B
YAML
13 lines
429 B
YAML
---
|
|
# Error: gitlab.CurlStringsQuoted
|
|
#
|
|
# Ensures all code blocks using `curl` wrap URL strings in quotation marks.
|
|
#
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
|
extends: existence
|
|
message: "For the cURL example, use double quotes around the URL: %s"
|
|
link: https://docs.gitlab.com/ee/development/documentation/restful_api_styleguide.html#curl-commands
|
|
level: error
|
|
scope: code
|
|
raw:
|
|
- 'curl [^"]+://.*'
|