From 740c9160fd2d5d57f801fa6a8e7d3b02ab13593d Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Thu, 19 Oct 2023 11:09:55 -0700 Subject: [PATCH] make unused variables a warning in eslint (#8832) Co-authored-by: Nate Moore --- .eslintrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 750f56aba7ff..041d475aa39d 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -16,7 +16,7 @@ module.exports = { // These off/configured-differently-by-default rules fit well for us '@typescript-eslint/array-type': ['error', { default: 'array-simple' }], '@typescript-eslint/no-unused-vars': [ - 'error', + 'warn', { argsIgnorePattern: '^_', ignoreRestSiblings: true }, ], 'no-only-tests/no-only-tests': 'error',