@mate-academy/linthtml-config

0.0.2 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @mate-academy/linthtml-config

Weekly Downloads

346

Version

0.0.2

License

ISC

Unpacked Size

2.12 kB

Total Files

3

Last publish

Collaborators

  • mateacademy