@mate-academy/linthtml-config
Read more about rules.
A simplified linthtml-config based on standard config.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