build: add eslint rule forbidding TypeORM Equal constructor

TypeORMs Equal constructor is buggy and should not be used.
This introduces a ESLint rule that checks for that.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2023-03-25 14:55:06 +01:00 committed by Philip Molares
parent 97389fe0c4
commit 925bb85d2f
2 changed files with 32 additions and 5 deletions

View file

@ -52,10 +52,9 @@ module.exports = {
jest: true,
},
rules: {
"prettier/prettier": ["error",
require('./.prettierrc.json')
],
'prettier/prettier': ['error', require('./.prettierrc.json')],
'local-rules/correct-logger-context': 'error',
'local-rules/no-typeorm-equal': 'error',
'func-style': ['error', 'declaration'],
'@typescript-eslint/no-unused-vars': [
'warn',