0.0.7 • Published 7 months ago
@fapmit/eslint-plugin-test-plugin v0.0.7
eslint-plugin-test-plugin
plugin for productinon project
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-test-plugin:
npm install eslint-plugin-test-plugin --save-devUsage
In your configuration file, import the plugin eslint-plugin-test-plugin and add test-plugin to the plugins key:
import test-plugin from "eslint-plugin-test-plugin";
export default [
{
plugins: {
test-plugin
}
}
];Then configure the rules you want to use under the rules key.
import test-plugin from "eslint-plugin-test-plugin";
export default [
{
plugins: {
test-plugin
},
rules: {
"test-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.