0.0.11 • Published 8 months ago
eslint-plugin-omelyuhin-fsd-plugin v0.0.11
eslint-plugin-omelyuhin-fsd-plugin
eslint feature sliced plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-omelyuhin-fsd-plugin
:
npm install eslint-plugin-omelyuhin-fsd-plugin --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-omelyuhin-fsd-plugin
and add omelyuhin-fsd-plugin
to the plugins
key:
import omelyuhin-fsd-plugin from "eslint-plugin-omelyuhin-fsd-plugin";
export default [
{
plugins: {
omelyuhin-fsd-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import omelyuhin-fsd-plugin from "eslint-plugin-omelyuhin-fsd-plugin";
export default [
{
plugins: {
omelyuhin-fsd-plugin
},
rules: {
"omelyuhin-fsd-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.