1.0.0 • Published 2 years ago

@thetravelproject/eslint-plugin-typeorm v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-typeorm

All Contributors

Installation

yarn add --dev eslint @thetravelproject/eslint-plugin-typeorm

Note: If you installed ESLint globally then you must also install eslint-plugin-jest globally.

Usage

Add @thetravelproject/eslint-plugin-typeorm to the plugins section of your .eslintrc configuration file. You

{
  "plugins": ["@thetravelproject/eslint-plugin-typeorm"]
}

Then configure the rules you want to use under the rules section. You need to omit the eslint-plugin- prefix:

{
  "rules": {
    "@thetravelproject/typeorm/use-typeorm-comparison-helpers": "err"
  }
}
RuleDescriptionConfigurationsFixable
use-typeorm-comparison-helpersMake sure you use an comparison helper (e.g. Equals) to handle undefined or null correctlyfixable

Misc

Licence

MIT

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago