Update .eslintrc.js
This commit is contained in:
parent
2bf63b158c
commit
4ff49b0a3f
|
@ -40,6 +40,7 @@ module.exports = {
|
||||||
'no-param-reassign': ['warn'],
|
'no-param-reassign': ['warn'],
|
||||||
'no-constant-condition': ['warn'],
|
'no-constant-condition': ['warn'],
|
||||||
'no-empty-pattern': ['warn'],
|
'no-empty-pattern': ['warn'],
|
||||||
|
'@typescript-eslint/no-unnecessary-condition': ['error'],
|
||||||
'@typescript-eslint/no-inferrable-types': ['warn'],
|
'@typescript-eslint/no-inferrable-types': ['warn'],
|
||||||
'@typescript-eslint/no-non-null-assertion': ['warn'],
|
'@typescript-eslint/no-non-null-assertion': ['warn'],
|
||||||
'@typescript-eslint/explicit-function-return-type': ['warn'],
|
'@typescript-eslint/explicit-function-return-type': ['warn'],
|
||||||
|
|
Loading…
Reference in a new issue