1.0.6 • Published 2 years ago
@waldronmatt/htmlhint-config v1.0.6
Htmlhint Config
My personal shareable htmlhint configuration.
Install
yarn add -D htmlhint @waldronmatt/htmlhint-config
Add an NPM Script
Running this command:
npm set-script lint:html "htmlhint --config ./node_modules/@waldronmatt/htmlhint-config/index.json **/*.html"
Will create:
package.json
"scripts": {
"lint:html": "htmlhint --config ./node_modules/@waldronmatt/htmlhint-config/index.json **/*.html"
},
License
MIT