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