File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export default defineConfig([
4444 "error" ,
4545 {
4646 argsIgnorePattern : "^_.*" ,
47+ varsIgnorePattern : "^_" ,
48+ caughtErrorsIgnorePattern : "^_" ,
4749 } ,
4850 ] ,
4951
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ export async function loadParser(
4040 let language : Language ;
4141 try {
4242 language = ( ( await import ( bindingsDir ) ) as { default : Language } ) . default ;
43- } catch ( error ) {
43+ } catch ( _ ) {
4444 // TODO(1/11/25): Always use import and remove this backup
45- // eslint-disable-next-line @typescript-eslint/no-var-requires
45+ // eslint-disable-next-line @typescript-eslint/no-require-imports
4646 language = require ( bindingsDir ) as Language ;
4747 }
4848
Original file line number Diff line number Diff line change 11import * as path from "path" ;
22import Mocha from "mocha" ;
3- import { glob } from "glob" ; // ✅ named import for v10+
3+ import { glob } from "glob" ;
44
55export async function run ( ) : Promise < void > {
66 let example = process . env . EXAMPLE ;
You can’t perform that action at this time.
0 commit comments