From 1ff1ff81494493b1322ce0992a0f5709c90c8371 Mon Sep 17 00:00:00 2001 From: tanghui Date: Fri, 25 Feb 2022 18:55:01 +0800 Subject: [PATCH 1/2] Revert "test: disabled react/jsx-key" This reverts commit 7d64967d637ce1043467abd7802b872cfe8cc09d. --- .eslintrc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 381513f2be1e..088f34d17ef8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -96,7 +96,6 @@ module.exports = { 'react/require-default-props': 0, 'react/sort-comp': 0, 'react/display-name': 0, - 'react/jsx-key': 0, 'react/static-property-placement': 0, 'react/jsx-no-bind': 0, // Should not check test file 'react/no-find-dom-node': 0, From be3b0876f6252345550da25b55f5bccaa9fd9cb2 Mon Sep 17 00:00:00 2001 From: tanghui Date: Fri, 25 Feb 2022 18:55:51 +0800 Subject: [PATCH 2/2] chore: lock eslint-plugin-react@7.28.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0080cb97320e..6d977204bdc8 100644 --- a/package.json +++ b/package.json @@ -209,7 +209,7 @@ "eslint-plugin-jest": "^26.0.0", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-markdown": "^2.0.0", - "eslint-plugin-react": "^7.20.6", + "eslint-plugin-react": "7.28.0", "eslint-plugin-react-hooks": "^4.1.2", "eslint-plugin-unicorn": "^41.0.0", "fetch-jsonp": "^1.1.3",