@@ -48,7 +48,9 @@ export default [
4848 } ,
4949 rules : {
5050 ...reactHooks . configs . recommended . rules ,
51- '@typescript-eslint/no-unused-expressions' :[ 'error' , { 'allowShortCircuit' : true , 'allowTernary' : true , } ] ,
51+ '@typescript-eslint/no-empty-object-type' : "off" ,
52+ '@typescript-eslint/no-unsafe-function-type' : 'off' ,
53+ '@typescript-eslint/no-unused-expressions' :[ 'error' , { allowShortCircuit : true , allowTernary : true } ] ,
5254 '@typescript-eslint/ban-ts-comment' : 'off' ,
5355 '@typescript-eslint/adjacent-overload-signatures' : 'error' ,
5456 '@typescript-eslint/array-type' : 'error' ,
@@ -68,11 +70,12 @@ export default [
6870 '@typescript-eslint/no-unused-vars' : [
6971 'error' ,
7072 {
71- argsIgnorePattern : '^_'
73+ argsIgnorePattern : '^_' ,
74+ caughtErrors : 'none'
7275 }
7376 ] ,
7477 '@typescript-eslint/no-use-before-define' : 'off' ,
75- '@typescript-eslint/no-var-requires ' : 'off' ,
78+ '@typescript-eslint/no-require-imports ' : 'off' ,
7679 '@typescript-eslint/prefer-for-of' : 'error' ,
7780 '@typescript-eslint/prefer-function-type' : 'error' ,
7881 '@typescript-eslint/prefer-namespace-keyword' : 'error' ,
0 commit comments