File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,27 +11,27 @@ module.exports = {
1111 sourceType : 'module' ,
1212 ecmaVersion : 2020
1313 } ,
14- overrides : [
15- {
16- extends : [
17- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
18- ] ,
19- files : [ './**/*.{ts,tsx}' ]
20- }
21- ] ,
14+ plugins : [ '@typescript-eslint' ] ,
2215 env : {
2316 node : true ,
2417 browser : true ,
2518 es6 : true ,
2619 commonjs : true
2720 } ,
28- plugins : [ '@typescript-eslint' ] ,
2921 settings : {
3022 'import/resolver' : {
3123 typescript : true ,
3224 node : true
3325 }
3426 } ,
27+ overrides : [
28+ {
29+ extends : [
30+ 'plugin:@typescript-eslint/recommended-requiring-type-checking'
31+ ] ,
32+ files : [ './**/*.{ts,tsx}' ]
33+ }
34+ ] ,
3535 rules : {
3636 '@typescript-eslint/no-unused-vars' : [
3737 'error' ,
@@ -61,6 +61,10 @@ module.exports = {
6161 {
6262 allowNullableBoolean : true
6363 }
64- ]
64+ ] ,
65+ 'no-implicit-coercion' : 'error' ,
66+ curly : [ 'error' , 'all' ] ,
67+ 'object-shorthand' : [ 'error' ] ,
68+ eqeqeq : 'error'
6569 }
6670}
You can’t perform that action at this time.
0 commit comments