0.5.1 • Published 4 years ago
@htmllinter/basic-config v0.5.1
@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