@@ -32,9 +32,14 @@ module.exports = defineConfig({
3232 quotes : [ 'error' , 'single' , { avoidEscape : true } ] ,
3333 semi : [ 'error' , 'always' ] ,
3434
35- '@typescript-eslint/ban-ts-comment' : 'off' ,
35+ '@typescript-eslint/array-type' : [ 'warn' , { default : 'array-simple' , readonly : 'generic' } ] ,
36+ '@typescript-eslint/ban-ts-comment' : [ 'error' , { 'ts-expect-error' : 'allow-with-description' } ] ,
37+ '@typescript-eslint/ban-types' : 'warn' ,
38+ '@typescript-eslint/consistent-type-imports' : 'error' ,
3639 '@typescript-eslint/explicit-function-return-type' : [ 'error' , { allowExpressions : true } ] ,
40+ '@typescript-eslint/explicit-member-accessibility' : 'error' ,
3741 '@typescript-eslint/indent' : [ 'error' , 'tab' , { SwitchCase : 1 , ignoredNodes : [ 'MemberExpression' ] } ] ,
42+ '@typescript-eslint/lines-between-class-members' : [ 'warn' , 'always' , { exceptAfterSingleLine : true } ] ,
3843 '@typescript-eslint/member-ordering' : 'warn' ,
3944 '@typescript-eslint/no-explicit-any' : 'off' ,
4045 '@typescript-eslint/no-inferrable-types' : 'off' ,
@@ -44,7 +49,9 @@ module.exports = defineConfig({
4449 '@typescript-eslint/no-unused-vars' : 'off' ,
4550 '@typescript-eslint/prefer-nullish-coalescing' : 'warn' ,
4651 '@typescript-eslint/prefer-optional-chain' : 'warn' ,
47- '@typescript-eslint/prefer-readonly' : [ 'warn' ] ,
52+ '@typescript-eslint/prefer-readonly' : 'warn' ,
53+ '@typescript-eslint/prefer-reduce-type-parameter' : 'warn' ,
54+ '@typescript-eslint/require-await' : 'warn' ,
4855 '@typescript-eslint/restrict-template-expressions' : 'off' ,
4956 '@typescript-eslint/typedef' : [ 'warn' , { memberVariableDeclaration : true , variableDeclaration : true } ] ,
5057
0 commit comments