From 1b016aba5456a803ff6d0cb74b37c5706c471b36 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Mon, 30 Mar 2026 09:39:29 +0800 Subject: [PATCH] =?UTF-8?q?chore(lint):=20=E7=A6=81=E7=94=A8=20react/no-im?= =?UTF-8?q?plicit-key=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 ESLint 配置中关闭 react/no-implicit-key 规则 - 允许组件中存在隐式 key 属性的使用 --- eslint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.js b/eslint.config.js index 06fcf00..fab559e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -20,6 +20,7 @@ export default antfu({ "react-hooks-extra/no-unnecessary-use-prefix": "off", "react-hooks-extra/prefer-use-state-lazy-initialization": "off", "react-hooks/exhaustive-deps": "off", + "react/no-implicit-key": "off", }, javascript: { "no-console": process.env.NODE_ENV === "production" ? "error" : "warn",