diff --git a/.eslintrc b/.eslintrc index 60d6b6c8b..f7fb5e038 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "project": "./tsconfig.json" }, "plugins": [ + "react-perf", "css-modules", "jest", "jsx-a11y", diff --git a/package.json b/package.json index d101ea208..c9dda282f 100644 --- a/package.json +++ b/package.json @@ -194,6 +194,7 @@ "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.1.0", + "eslint-plugin-react-perf": "^3.3.3", "eslint-plugin-suggest-no-throw": "^1.0.0", "eslint-plugin-testing-library": "^7.1.1", "happy-dom": "^16.3.0", diff --git a/yarn.lock b/yarn.lock index 511799233..23235b0a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4633,6 +4633,11 @@ eslint-plugin-react-hooks@^5.1.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz#3d34e37d5770866c34b87d5b499f5f0b53bf0854" integrity sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw== +eslint-plugin-react-perf@^3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-perf/-/eslint-plugin-react-perf-3.3.3.tgz#29f97ab494fff18dc5e6ec34b056d9a21a86ee71" + integrity sha512-EzPdxsRJg5IllCAH9ny/3nK7sv9251tvKmi/d3Ouv5KzI8TB3zNhzScxL9wnh9Hvv8GYC5LEtzTauynfOEYiAw== + eslint-plugin-react@^7.37.4: version "7.37.4" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.4.tgz#1b6c80b6175b6ae4b26055ae4d55d04c414c7181"