From 1e43b36fe650ad9dd0319bf4f502dff04d07a41c Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Thu, 19 Dec 2024 22:14:03 -0500 Subject: [PATCH] ignore underscores --- eslint.config.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 5c68edc..5297430 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,5 +30,17 @@ export default ts.config( parser: ts.parser, }, }, + }, + { + rules: { + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_', + }, + ], + }, } -); +); \ No newline at end of file