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