0.0.2 • Published 2 years ago

@mate-academy/linthtml-config v0.0.2

Weekly downloads
615
License
ISC
Repository
-
Last release
2 years ago

@mate-academy/linthtml-config

A simplified linthtml-config based on standard config. Read more about rules.

Install

npm install --save-dev @mate-academy/linthtml-config

Usage

Add this to your package.json file:

{
  "scripts": {
    "lint:html": "linthtml --config ./node_modules/@mate-academy/linthtml-config/.linthtmlrc.json"
  }
}

Or copy config to root before:

cp ./node_modules/@mate-academy/linthtml-config/.linthtmlrc.json ./.linthtmlrc.json
{
  "scripts": {
    "lint:html": "linthtml"
  }
}

And run:

npm run lint:html