@mate-academy/linthtml-config
v0.0.2
Published
#### A simplified linthtml-config based on standard config. [Read more](https://mate-academy.github.io/style-guides/htmlcss.html) about rules.
Downloads
2,858
Readme
@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