diff --git a/index.js b/index.js index 4533635..41e36eb 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,18 @@ export default tseslint.config( ...tseslint.configs.strict, { rules: { + "@typescript-eslint/no-unused-vars": [ + "error", + { + args: "all", + argsIgnorePattern: "^_", + caughtErrors: "all", + caughtErrorsIgnorePattern: "^_", + destructuredArrayIgnorePattern: "^_", + varsIgnorePattern: "^_", + ignoreRestSiblings: true, + }, + ], "prefer-const": "error", curly: "error", "no-console": ["error", { allow: ["warn", "error"] }],