diff --git a/src/cli/__snapshots__/htmlhint.spec.js.snap b/src/cli/__snapshots__/htmlhint.spec.js.snap index 10aa1af97..667e9b083 100644 --- a/src/cli/__snapshots__/htmlhint.spec.js.snap +++ b/src/cli/__snapshots__/htmlhint.spec.js.snap @@ -65,3 +65,83 @@ Options: htmlhint --rulesdir ./rules/ " `; + +exports[`Executable should print rules with --list: stderr 1`] = `""`; + +exports[`Executable should print rules with --list: stdout 1`] = ` +" All rules: + ================================================== + alt-require : The alt attribute of an element must be present and alt attribute of area[href] and input[type=image] must have a value. + attr-lowercase : All attribute names must be in lowercase. + attr-sorted : Attribute tags must be in proper order. + attr-no-duplication : Elements cannot have duplicate attributes. + attr-unsafe-chars : Attribute values cannot contain unsafe chars. + attr-value-double-quotes : Attribute values must be in double quotes. + attr-value-not-empty : All attributes must have values. + attr-value-single-quotes : Attribute values must be in single quotes. + attr-whitespace : All attributes should be separated by only one space and not have leading/trailing whitespace. + doctype-first : Doctype must be declared first. + doctype-html5 : Invalid doctype. Use: \\"\\" + head-script-disabled : The