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