eslint-plugin-tp-egg
v0.0.0-beta.1
Published
egg eslint
Downloads
9
Maintainers
Readme
eslint-plugin-tp-recommended-egg
egg eslint
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-tp-recommended-egg
:
npm install eslint-plugin-tp-recommended-egg --save-dev
Usage
Add tp-recommended-egg
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tp-recommended-egg"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tp-recommended-egg/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.