@@ -49,7 +49,7 @@ module.exports = {
4949 } ,
5050 overrides : [
5151 {
52- files : [ '*client/**/*.ts' , '*interfaces/**/*.ts' , 'commons/**/*.ts' ] ,
52+ files : [ '*client/**/*.ts' , '*interfaces/**/*.ts' , 'commons/**/*.ts' , 'mitm*/**/*.ts' ] ,
5353 rules : {
5454 '@typescript-eslint/explicit-function-return-type' : [
5555 'error' ,
@@ -63,6 +63,12 @@ module.exports = {
6363 'no-console' : 'off' ,
6464 } ,
6565 } ,
66+ {
67+ files : 'emulate-browsers/**/*.ts' ,
68+ rules : {
69+ 'require-await' : 'off' , // Turn off while waiting
70+ } ,
71+ } ,
6672 {
6773 files : [
6874 '**/injected-scripts/**/*.js' ,
@@ -75,6 +81,7 @@ module.exports = {
7581 'prefer-rest-params' : 'off' ,
7682 'max-classes-per-file' : 'off' ,
7783 'func-names' : 'off' ,
84+ '@typescript-eslint/no-unused-vars' : 'off' ,
7885 } ,
7986 } ,
8087 {
@@ -91,6 +98,7 @@ module.exports = {
9198 rules : {
9299 'promise/valid-params' : 'off' ,
93100 '@typescript-eslint/explicit-function-return-type' : 'off' ,
101+ 'require-await' : 'off' ,
94102 } ,
95103 } ,
96104 {
@@ -164,6 +172,8 @@ module.exports = {
164172 'class-methods-use-this' : 'off' ,
165173 'consistent-return' : [ 'off' , { treatUndefinedAsUnspecified : true } ] ,
166174 'spaced-comment' : [ 'error' , 'always' , { markers : [ '/////' ] } ] ,
175+ 'require-await' : 'error' ,
176+ 'jest/no-conditional-expect' : 'off' ,
167177 '@typescript-eslint/no-implied-eval' : 'off' , // false positives for setTimeout with bind fn
168178 '@typescript-eslint/no-explicit-any' : 'off' ,
169179 '@typescript-eslint/no-use-before-define' : 'off' ,
@@ -174,6 +184,10 @@ module.exports = {
174184 '@typescript-eslint/no-empty-interface' : 'off' ,
175185 '@typescript-eslint/no-namespace' : 'off' ,
176186 '@typescript-eslint/ordered-imports' : 'off' ,
187+ '@typescript-eslint/no-shadow' : [
188+ 'error' ,
189+ { ignoreTypeValueShadow : true , ignoreFunctionTypeParameterNameValueShadow : true } ,
190+ ] ,
177191 '@typescript-eslint/object-literal-shorthand' : 'off' ,
178192 '@typescript-eslint/object-shorthand-properties-first' : 'off' ,
179193 '@typescript-eslint/no-var-requires' : 'off' ,
0 commit comments