File tree Expand file tree Collapse file tree
packages/eslint-config/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ module.exports = {
4040 'no-loop-func' : 'off' ,
4141 '@typescript-eslint/no-misused-promises' : 'off' ,
4242 '@typescript-eslint/no-empty-function' : 'off' ,
43- '@typescript-eslint/no-unnecessary-condition' : 'off' ,
4443 '@typescript-eslint/naming-convention' : 'off'
4544 }
4645 }
Original file line number Diff line number Diff line change @@ -11,14 +11,6 @@ module.exports = {
1111 '@typescript-eslint/no-base-to-string' : 'error' ,
1212 '@typescript-eslint/no-throw-literal' : 'error' ,
1313 '@typescript-eslint/no-unnecessary-boolean-literal-compare' : 'error' ,
14- '@typescript-eslint/no-unnecessary-condition' : [
15- // https://github.com/typescript-eslint/typescript-eslint/issues/2333 : `strictNullChecks` compiler option needed
16- // `strictNullChecks` is very strcit (┛◉Д◉)┛彡┻━┻
17- 'error' ,
18- {
19- allowConstantLoopConditions : true
20- }
21- ] ,
2214 '@typescript-eslint/no-unnecessary-qualifier' : 'error' ,
2315 '@typescript-eslint/no-unnecessary-type-arguments' : 'error' ,
2416 '@typescript-eslint/prefer-includes' : 'error' ,
You can’t perform that action at this time.
0 commit comments