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