0.1.0 • Published 7 months ago
eslint-plugin-hslint v0.1.0
eslint-plugin-hslint
demo
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-hslint
:
npm install eslint-plugin-hslint --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-hslint
and add hslint
to the plugins
key:
import hslint from "eslint-plugin-hslint";
export default [
{
plugins: {
hslint
}
}
];
Then configure the rules you want to use under the rules
key.
import hslint from "eslint-plugin-hslint";
export default [
{
plugins: {
hslint
},
rules: {
"hslint/rule-name": "warn"
}
}
];
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.