We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea5f32 commit 568071dCopy full SHA for 568071d
README.md
@@ -53,6 +53,13 @@ $ ./node_modules/.bin/htmlhint www/index.html
53
$ ./node_modules/.bin/htmlhint www/**/*.html
54
```
55
56
+Or, you can use HTMLHint linter programatically, like this:
57
+```
58
+import { HTMLHint } from 'htmlhint';
59
+const htmlVerificationHints = HTMLHint.verify(localHtmlContent);
60
+console.log('htmlVerificationHints', htmlVerificationHints); // this logs a list of `Hint`s which contain information on all linting errors
61
62
+
63
### Global Installation and Usage
64
65
If you want to make HTMLHint available to tools that run across all of your projects, you can install HTMLHint globally using npm:
0 commit comments