From 5254a49ebe46221b8c17f31bff898fa65616eefd Mon Sep 17 00:00:00 2001 From: p-sw Date: Fri, 14 Jun 2024 22:54:06 +0900 Subject: [PATCH] fix: safely ignore unused variables starting with underscore --- packages/react/.eslintrc.cjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react/.eslintrc.cjs b/packages/react/.eslintrc.cjs index 29cb6d5..0e26b35 100644 --- a/packages/react/.eslintrc.cjs +++ b/packages/react/.eslintrc.cjs @@ -10,5 +10,9 @@ module.exports = { 'warn', { allowConstantExport: true }, ], + '@typescript-eslint/no-unused-vars': [ + "error", + { varsIgnorePattern: '^_' } + ] }, }