1.1.0 • Published 1 year ago

@ggascoigne/htmlhint-config v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Htmlhint Config

My personal shareable htmlhint configuration.

Install

pnpm add -D htmlhint @ggascoigne/htmlhint-config

Add an NPM Script

Running this command:

npm set-script lint:html "htmlhint --config ./node_modules/@ggascoigne/htmlhint-config/index.json **/*.html"

Will create:

package.json

"scripts": {
  "lint:html": "htmlhint --config ./node_modules/@ggascoigne/htmlhint-config/index.json **/*.html"
},

License

MIT