From c43f7c7dd81169dcf8ded158c0f2ffad8b5dac47 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Tue, 27 Aug 2024 21:21:46 +0800 Subject: [PATCH] downgrade no-duplicate-key to warning because of false positives --- eslint.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6532e8a3..a5b4270d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -40,6 +40,7 @@ const baseConfig = tseslint.config( '@eslint-react/dom/no-missing-button-type': 'off', 'stylistic/no-multiple-empty-lines': ['error', { max: 1 }], '@typescript-eslint/no-explicit-any': 'off', + '@eslint-react/no-duplicate-key': 'warn', }, }, {