eslint: don't care about consistent-return in typescript
This commit is contained in:
parent
92a5893f83
commit
6d1539cf9c
|
@ -278,6 +278,7 @@ module.exports = {
|
|||
files: ['**/*.ts', '**/*.tsx'],
|
||||
rules: {
|
||||
'no-undef': 'off', // https://stackoverflow.com/a/69155899
|
||||
'consistent-return': 'off',
|
||||
},
|
||||
parser: '@typescript-eslint/parser',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue