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'],
|
files: ['**/*.ts', '**/*.tsx'],
|
||||||
rules: {
|
rules: {
|
||||||
'no-undef': 'off', // https://stackoverflow.com/a/69155899
|
'no-undef': 'off', // https://stackoverflow.com/a/69155899
|
||||||
|
'consistent-return': 'off',
|
||||||
},
|
},
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue