From 5903f4072457a6375ac43a17fbe01877e20fdaf7 Mon Sep 17 00:00:00 2001 From: Amumu Date: Fri, 25 Feb 2022 19:28:54 +0800 Subject: [PATCH] chore: lock eslint-plugin-react (#34214) * Revert "test: disabled react/jsx-key" This reverts commit 7d64967d637ce1043467abd7802b872cfe8cc09d. * chore: lock eslint-plugin-react@7.28.0 --- .eslintrc.js | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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, 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",