eslint-plugin-wn-typeorm
v0.0.0
Published
Enforces correct usage of typeorm
Downloads
6
Maintainers
Readme
eslint-plugin-wn-typeorm
Enforces correct usage of typeorm
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-wn-typeorm
:
$ npm install eslint-plugin-wn-typeorm --save-dev
Usage
Add wn-typeorm
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"wn-typeorm"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"wn-typeorm/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here