@@ -36,7 +36,10 @@ const config = {
3636 } ,
3737 } ,
3838 rules : {
39- '@typescript-eslint/array-type' : 'off' ,
39+ '@typescript-eslint/array-type' : [
40+ 'error' ,
41+ { default : 'generic' , readonly : 'generic' } ,
42+ ] ,
4043 '@typescript-eslint/ban-types' : 'off' ,
4144 '@typescript-eslint/ban-ts-comment' : 'off' ,
4245 '@typescript-eslint/consistent-type-definitions' : 'off' ,
@@ -45,16 +48,16 @@ const config = {
4548 { prefer : 'type-imports' } ,
4649 ] ,
4750 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
51+ '@typescript-eslint/method-signature-style' : [ 'error' , 'property' ] ,
4852 '@typescript-eslint/no-empty-interface' : 'off' ,
4953 '@typescript-eslint/no-explicit-any' : 'off' ,
5054 '@typescript-eslint/no-non-null-assertion' : 'off' ,
5155 '@typescript-eslint/no-unnecessary-condition' : 'error' ,
56+ '@typescript-eslint/no-unnecessary-type-assertion' : 'error' ,
5257 '@typescript-eslint/no-unused-vars' : 'off' ,
5358 '@typescript-eslint/no-inferrable-types' : [
5459 'error' ,
55- {
56- ignoreParameters : true ,
57- } ,
60+ { ignoreParameters : true } ,
5861 ] ,
5962 'import/default' : 'off' ,
6063 'import/export' : 'off' ,
@@ -80,7 +83,6 @@ const config = {
8083 ] ,
8184 } ,
8285 ] ,
83-
8486 'no-redeclare' : 'off' ,
8587 'no-shadow' : 'error' ,
8688 'no-undef' : 'off' ,
0 commit comments