@htmllinter/basic-config
v0.5.1
Published
basic standard for htmllinter used for setting the standard the config
Downloads
38
Maintainers
Readme
@htmllinter/basic-config
Installation
npm @htmllinter/core @htmllinter/basic-config
Usage
In your root directory (recommmended), create a file name htmllinter.config.js
(this filename is must and non-replaceable)
htmllinter.config.js
module.exports = {
extend: require('@htmllinter/basic-config'),
};
Add a script for linting in your package.json
"scripts"{
"lint:html":"htmllinter input.html"
}
Run
Run the following command in your terminal
npm run lint:html
# or using yarn
yarn lint:html