diff --git a/.github/vale/Docker/CodeOutput.yml b/.github/vale/Docker/CodeOutput.yml deleted file mode 100644 index beb96ad6bd..0000000000 --- a/.github/vale/Docker/CodeOutput.yml +++ /dev/null @@ -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 ``` diff --git a/.github/vale/Docker/CodeSingleCommand.yml b/.github/vale/Docker/CodeSingleCommand.yml deleted file mode 100644 index 4f3d30889a..0000000000 --- a/.github/vale/Docker/CodeSingleCommand.yml +++ /dev/null @@ -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 ``` \ No newline at end of file