remove rules

This commit is contained in:
craig-osterhout 2022-11-22 10:24:28 -08:00
parent d1b1aed99d
commit 2a3f95fa03
No known key found for this signature in database
GPG Key ID: 497A5E49261C73B5
2 changed files with 0 additions and 26 deletions

View File

@ -1,12 +0,0 @@
extends: existence
message: "If you expect users to copy and run the command, specify output in a separate code block."
link: https://docs.docker.com/contribute/style/formatting/#best-practice-for-commands
level: warning
scope: raw
#check for console code fence followed by one line with $ or #, and not ending in `or \. Followed by more lines without $ or # and terminated by code fence
raw:
- '(\`\`\`console\n)' # start ```console
- '[^(\$|#)]*' # 0 or more characters without $ or #
- '.*(\$|#).*[^\`\\]\n' # 1 line with $ or #, without ` or \ at end
- '((?!\`\`\`|\$|#)(.|\n))+' # 1 or more lines without ```, $, or #
- '\`\`\`' # stop ```

View File

@ -1,14 +0,0 @@
extends: existence
message: "If you expect users to copy and run the command, specify one command per code block."
link: https://docs.docker.com/contribute/style/formatting/#best-practice-for-commands
level: warning
scope: raw
#check for console code fence followed by at least two lines with $ or #
raw:
- '\`\`\`console\n' # start at ```console
- '[^(\$|#|\`\`\`)]*' # 0 or more characters without $, #, or ```
- '.*(\$|#).*\n' # 1 line with $ or #
- '[^(\$|#|\`\`\`)]*' # 0 or more characters without $, #, or ```
- '.*(\$|#).*\n' # 1 line with $ or #
- '[^(\`\`\`)]*' # 0 or more characters without ```
- '\`\`\`' # stop ```