From c41d6c045af2116c5a50b925a48c3d7449d6c284 Mon Sep 17 00:00:00 2001 From: Bansi-Mahkana Date: Wed, 25 Dec 2024 14:22:39 +0530 Subject: [PATCH] solve lint error --- eslint.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 238d2e4..0c18877 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -32,7 +32,11 @@ export default [ 'react-refresh/only-export-components': [ 'warn', { allowConstantExport: true }, - ], + ], + 'no-unused-vars': [ + 'error', + { "varsIgnorePattern": '^React$' } + ], }, }, ]