@@ -97,7 +97,7 @@ export default tseslint.config(
9797 ] ,
9898
9999 '@typescript-eslint/ban-ts-comment' : 'error' ,
100- '@typescript-eslint/ban-types ' : 'off' , // TODO: we should turn this on in a new PR
100+ '@typescript-eslint/no-unsafe-function-type ' : 'off' , // TODO: we should turn this on in a new PR
101101 '@typescript-eslint/explicit-module-boundary-types' : [
102102 'error' ,
103103 { allowArgumentsExplicitlyTypedAsAny : true } ,
@@ -106,18 +106,23 @@ export default tseslint.config(
106106 'error' ,
107107 { allow : [ 'arrowFunctions' ] } ,
108108 ] ,
109+ '@typescript-eslint/no-empty-object-type' : [
110+ 'error' ,
111+ { allowInterfaces : 'with-single-extends' } , // maybe we should turn this on in a new PR
112+ ] ,
109113 '@typescript-eslint/no-empty-interface' : 'off' ,
110114 '@typescript-eslint/no-explicit-any' : 'off' , // maybe we should turn this on in a new PR
111115 'no-extra-semi' : 'off' ,
112116 '@typescript-eslint/no-extra-semi' : 'off' , // conflicts with prettier
113117 '@typescript-eslint/no-inferrable-types' : 'off' ,
118+ '@typescript-eslint/no-unused-expressions' : 'off' , // maybe we should turn this on in a new PR
114119 '@typescript-eslint/no-unused-vars' : 'off' , // maybe we should turn this on in a new PR
115- '@typescript-eslint/no-var-requires ' : 'off' ,
120+ '@typescript-eslint/no-require-imports ' : 'off' ,
116121 '@typescript-eslint/consistent-type-imports' : [
117122 'error' ,
118123 { prefer : 'type-imports' , disallowTypeAnnotations : false } ,
119124 ] ,
120- // disable rules set in @typescript -eslint/stylistic v6 that wasn't set in @typescript-eslint/recommended v5 and which conflict with current code
125+ // disable rules set in @typescript -eslint/stylistic which conflict with current code
121126 // maybe we should turn them on in a new PR
122127 '@typescript-eslint/array-type' : 'off' ,
123128 '@typescript-eslint/ban-tslint-comment' : 'off' ,
0 commit comments