-
-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
84 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Executable should print help with --help: stderr 1`] = `""`; | ||
|
||
exports[`Executable should print help with --help: stdout 1`] = ` | ||
"Usage: htmlhint <file|folder|pattern|stdin|url ...> [options] | ||
Options: | ||
-V, --version output the version number | ||
-l, --list show all of the rules available | ||
-c, --config <file> custom configuration file | ||
-r, --rules <ruleid, ruleid=value ...> set all of the rules available | ||
-R, --rulesdir <file|folder> load custom rules from file or folder | ||
-f, --format <checkstyle|compact|html|json|junit|markdown|unix> output messages as custom format | ||
-i, --ignore <pattern, pattern ...> add pattern to exclude matches | ||
--nocolor disable color | ||
--warn Warn only, exit with 0 | ||
-h, --help display help for command | ||
Examples: | ||
htmlhint | ||
htmlhint www | ||
htmlhint www/test.html | ||
htmlhint www/**/*.xhtml | ||
htmlhint www/**/*.{htm,html} | ||
htmlhint http://www.alibaba.com/ | ||
cat test.html | htmlhint stdin | ||
htmlhint --list | ||
htmlhint --rules tag-pair,id-class-value=underline test.html | ||
htmlhint --config .htmlhintrc test.html | ||
htmlhint --ignore **/build/**,**/test/** | ||
htmlhint --rulesdir ./rules/ | ||
" | ||
`; | ||
exports[`Executable should print help with -h: stderr 1`] = `""`; | ||
exports[`Executable should print help with -h: stdout 1`] = ` | ||
"Usage: htmlhint <file|folder|pattern|stdin|url ...> [options] | ||
Options: | ||
-V, --version output the version number | ||
-l, --list show all of the rules available | ||
-c, --config <file> custom configuration file | ||
-r, --rules <ruleid, ruleid=value ...> set all of the rules available | ||
-R, --rulesdir <file|folder> load custom rules from file or folder | ||
-f, --format <checkstyle|compact|html|json|junit|markdown|unix> output messages as custom format | ||
-i, --ignore <pattern, pattern ...> add pattern to exclude matches | ||
--nocolor disable color | ||
--warn Warn only, exit with 0 | ||
-h, --help display help for command | ||
Examples: | ||
htmlhint | ||
htmlhint www | ||
htmlhint www/test.html | ||
htmlhint www/**/*.xhtml | ||
htmlhint www/**/*.{htm,html} | ||
htmlhint http://www.alibaba.com/ | ||
cat test.html | htmlhint stdin | ||
htmlhint --list | ||
htmlhint --rules tag-pair,id-class-value=underline test.html | ||
htmlhint --config .htmlhintrc test.html | ||
htmlhint --ignore **/build/**,**/test/** | ||
htmlhint --rulesdir ./rules/ | ||
" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters