eslint-plugin-dzen-plugin
v0.0.9
Published
plugin fro production project
Maintainers
Readme
eslint-plugin-dzen-plugin
plugin fro production project
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-dzen-plugin:
npm install eslint-plugin-dzen-plugin --save-devUsage
In your configuration file, import the plugin eslint-plugin-dzen-plugin and add dzen-plugin to the plugins key:
import { defineConfig } from "eslint/config";
import dzen-plugin from "eslint-plugin-dzen-plugin";
export default defineConfig([
{
plugins: {
dzen-plugin
}
}
]);Then configure the rules you want to use under the rules key.
import { defineConfig } from "eslint/config";
import dzen-plugin from "eslint-plugin-dzen-plugin";
export default defineConfig([
{
plugins: {
dzen-plugin
},
rules: {
"dzen-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.
