0.6.4 • Published 1 month ago
eslint-plugin-goodt v0.6.4
eslint-plugin-goodt
Goodt projects rules
https://wiki.goodt.me/display/AP/Eslint+plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-goodt
:
npm install eslint-plugin-goodt --save-dev
Usage
Add goodt
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"goodt"
],
"extends": [
"plugin:goodt/recommended"
]
}
either you can use rules only for specified file types
{
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": [
"plugin:goodt/typescript"
],
"rules": {}
}
]
}