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