From d1cc3be0b333a43a031d7526a520feae10067dcb Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 27 Oct 2024 13:36:05 +0100 Subject: [PATCH] Updating eslint rules --- eslint.config.mjs | 6 +++++- tsconfig.json | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index d6b1b22..c914bca 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -80,7 +80,11 @@ export default [ "@typescript-eslint/no-unused-vars": ["warn", { vars: "all", args: "after-used", - ignoreRestSiblings: false + ignoreRestSiblings: false, + argsIgnorePattern: "^_", + caughtErrorsIgnorePattern: "^_", + destructuredArrayIgnorePattern: "^_", + varsIgnorePattern: "^_" }], "@typescript-eslint/no-empty-object-type": "off", "@typescript-eslint/no-require-imports": "off", diff --git a/tsconfig.json b/tsconfig.json index 50151ac..f1475ac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,6 @@ "strictNullChecks": true, "resolveJsonModule": true, "removeComments": true, - "noUnusedLocals": true, "outDir": "dist", "baseUrl": ".", "paths": {