Package Exports
- @htmllinter/basic-config
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@htmllinter/basic-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@htmllinter/basic-config
Installation
npm @htmllinter/core @htmllinter/basic-configUsage
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