mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
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:
parent
97389fe0c4
commit
925bb85d2f
2 changed files with 32 additions and 5 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue