@ggascoigne/htmlhint-config

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i @ggascoigne/htmlhint-config

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

3.43 kB

Total Files

4

Last publish

Collaborators

  • ggascoigne