mirror of https://github.com/docker/docs.git
remove rules
This commit is contained in:
parent
d1b1aed99d
commit
2a3f95fa03
|
@ -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 ```
|
|
@ -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 ```
|
Loading…
Reference in New Issue