File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed
Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ export default [
152152
153153 rules : {
154154 "@typescript-eslint/no-explicit-any" : "off" ,
155+ "@typescript-eslint/no-unsafe-argument" : "off" ,
155156 "@typescript-eslint/no-unsafe-assignment" : "off" ,
156157 "@typescript-eslint/no-unsafe-call" : "off" ,
157158 "@typescript-eslint/no-unsafe-enum-comparison" : "off" ,
Original file line number Diff line number Diff line change @@ -259,17 +259,13 @@ for (const feature of Object.keys(featureConfig)) {
259259
260260 // The type system should prevent this happening, but test that if we
261261 // bypass it we get the expected error.
262- await t . throwsAsync (
263- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
264- async ( ) => features . getValue ( feature as any ) ,
265- {
266- message : `Internal error: A ${
267- featureConfig [ feature ] . minimumVersion !== undefined
268- ? "minimum version"
269- : "required tools feature"
270- } is specified for feature ${ feature } , but no instance of CodeQL was provided.`,
271- } ,
272- ) ;
262+ await t . throwsAsync ( async ( ) => features . getValue ( feature as any ) , {
263+ message : `Internal error: A ${
264+ featureConfig [ feature ] . minimumVersion !== undefined
265+ ? "minimum version"
266+ : "required tools feature"
267+ } is specified for feature ${ feature } , but no instance of CodeQL was provided.`,
268+ } ) ;
273269 } ) ;
274270 } ) ;
275271 }
You can’t perform that action at this time.
0 commit comments