From 0398f4c08d5c9f592ea816eb3de5af2a1004bf0d Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 30 Aug 2023 10:48:48 +0800 Subject: [PATCH] conf: react version detect --- .eslintrc.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 3766dd0..84053b0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -13,6 +13,11 @@ "ecmaVersion": "latest", "sourceType": "module" }, + "settings": { + "react": { + "version": "detect" + } + }, "plugins": [ "react" ],