0.0.9 • Published 6 months ago
eslint-plugin-worker-lina-plugin v0.0.9
eslint-plugin-worker-lina-plugin
plugin for studing
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-worker-lina-plugin
:
npm install eslint-plugin-worker-lina-plugin --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-worker-lina-plugin
and add worker-lina-plugin
to the plugins
key:
import worker-lina-plugin from "eslint-plugin-worker-lina-plugin";
export default [
{
plugins: {
worker-lina-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import worker-lina-plugin from "eslint-plugin-worker-lina-plugin";
export default [
{
plugins: {
worker-lina-plugin
},
rules: {
"worker-lina-plugin/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.