From bc271f7d860ccb83995a4cce027dfa42e6f2d1ca Mon Sep 17 00:00:00 2001 From: Jasper van Merle Date: Mon, 5 Aug 2024 00:11:12 +0200 Subject: [PATCH] Fix eslint issues --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 55bc97e..57fc071 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "package:firefox": "pnpm build:firefox && web-ext build -s build-firefox/ -a dist/ -o -n {name}-{version}-firefox.zip", "generate-banners": "tsx scripts/generate-banners.ts", "lint": "pnpm run \"/^lint:.*/\"", - "lint:eslint": "eslint --format codeframe 'src/**' 'tests/**' 'scripts/**' jest.config.ts", + "lint:eslint": "eslint --format codeframe 'src/**/*.ts' 'tests/**/*.ts' 'scripts/**/*.ts' jest.config.ts", "lint:prettier": "prettier --check --ignore-path .gitignore '**/*.{ts,js,html,yml,json}'", "lint:tsc": "tsc --noEmit", "lint:package": "pnpm build:firefox && web-ext lint -s build-firefox/ -o text", @@ -108,6 +108,12 @@ "allowArgumentsExplicitlyTypedAsAny": true } ], + "@typescript-eslint/no-unused-vars": [ + "error", + { + "caughtErrors": "none" + } + ], "import/order": [ "error", {