eslint: disable consistent-return
This commit is contained in:
parent
bf5d3b241a
commit
c5d46d1a15
1 changed files with 0 additions and 2 deletions
|
@ -78,7 +78,6 @@ module.exports = {
|
||||||
'space-infix-ops': 'error',
|
'space-infix-ops': 'error',
|
||||||
'space-in-parens': ['error', 'never'],
|
'space-in-parens': ['error', 'never'],
|
||||||
'keyword-spacing': 'error',
|
'keyword-spacing': 'error',
|
||||||
'consistent-return': 'error',
|
|
||||||
'dot-notation': 'error',
|
'dot-notation': 'error',
|
||||||
eqeqeq: 'error',
|
eqeqeq: 'error',
|
||||||
indent: ['error', 2, {
|
indent: ['error', 2, {
|
||||||
|
@ -278,7 +277,6 @@ 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 a new issue