@thetravelproject/eslint-plugin-typeorm
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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"
  }
}
Rule Description Configurations Fixable
use-typeorm-comparison-helpers Make sure you use an comparison helper (e.g. Equals) to handle undefined or null correctly fixable

Misc

Licence

MIT

Contributors

Thanks goes to these wonderful people (emoji key):


Barnabas Jovanovics

💻 🤔

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

Package Sidebar

Install

npm i @thetravelproject/eslint-plugin-typeorm

Weekly Downloads

7

Version

1.0.0

License

MIT

Unpacked Size

12.9 kB

Total Files

19

Last publish

Collaborators

  • lukendr
  • barnabas-jovanovics
  • natterstefan