From ebc17059deb082bad85a39778efeef52797c3d03 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Thu, 29 Jan 2026 10:39:51 +0800 Subject: [PATCH] chore(test): turn off no-nested-component-definitions (#56793) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 遇见同学 <1875694521@qq.com> --- eslint.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 572e318c4f..ce4a147c42 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -85,6 +85,7 @@ export default antfu( 'react-hooks/immutability': 'off', 'test/prefer-lowercase-title': 'off', 'react/no-create-ref': 'off', + 'react/no-nested-component-definitions': 'off', 'react/no-nested-components': 'off', 'react/no-useless-fragment': 'off', 'no-console': 'off',