diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 68a908342..64dc898f4 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -19,6 +19,17 @@ module.exports = { project: ["./tsconfig.json", "./**/{t,j}sconfig.json"], }, plugins: ["@typescript-eslint"], + rules: { + "@typescript-eslint/no-unused-vars": [ + "warn", + { + varsIgnorePattern: "^_", + argsIgnorePattern: "^_", + destructuredArrayIgnorePattern: "^_", + caughtErrorsIgnorePattern: "^_", + }, + ], + }, }, ], ignorePatterns: ["./**/node_modules", "node_modules", "./**/lib", "lib"],