eslint-plugin-wemade
v1.0.1
Published
esling plugin for wemade frontend developers
Downloads
123
Maintainers
Readme
eslint-plugin-wemade-plugin
test
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-wemade-plugin
:
npm install eslint-plugin-wemade-plugin --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-wemade-plugin
and add wemade-plugin
to the plugins
key:
import wemade-plugin from "eslint-plugin-wemade-plugin";
export default [
{
plugins: {
wemade-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import wemade-plugin from "eslint-plugin-wemade-plugin";
export default [
{
plugins: {
wemade-plugin
},
rules: {
"wemade-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.