@@ -10,19 +10,17 @@ export default [
10
10
...tseslint . configs . recommended ,
11
11
{
12
12
rules : {
13
- "@typescript-eslint/ban-ts-comment" : "warn" ,
14
- "@typescript-eslint/no-empty-object-type" : "warn" ,
15
- "@typescript-eslint/no-explicit-any" : "off" ,
13
+ "@typescript-eslint/no-empty-object-type" : [ "error" , { allowInterfaces : "with-single-extends" } ] ,
16
14
"@typescript-eslint/no-namespace" : [ "error" , { allowDeclarations : true } ] ,
15
+ "no-empty" : [ "error" , { allowEmptyCatch : true } ] ,
16
+ "prefer-const" : [ "error" , { destructuring : "all" } ] ,
17
+ } ,
18
+ } ,
19
+ {
20
+ rules : {
21
+ "@typescript-eslint/no-explicit-any" : "off" ,
17
22
"@typescript-eslint/no-require-imports" : "off" ,
18
- "@typescript-eslint/no-unsafe-function-type" : "warn" ,
19
23
"@typescript-eslint/no-unused-vars" : "warn" ,
20
- "no-case-declarations" : "warn" ,
21
- "no-empty" : "warn" ,
22
- "no-useless-escape" : "warn" ,
23
- "prefer-const" : "off" ,
24
- "prefer-rest-params" : "warn" ,
25
- "prefer-spread" : "warn" ,
26
24
} ,
27
25
} ,
28
26
] ;
0 commit comments