mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
allow floating promises if explicitly defined
This commit is contained in:
parent
a998afb6d4
commit
539b45282b
@ -27,6 +27,11 @@ module.exports = {
|
||||
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
||||
'plugin:type-graphql/recommended',
|
||||
],
|
||||
// allow explicitly defined dangling promises
|
||||
rules: {
|
||||
'@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
|
||||
'no-void': ['error', { allowAsStatement: true }],
|
||||
},
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: ['./tsconfig.json'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user