Skip to content

Commit a7b3337

Browse files
Update dependency eslint-plugin-react-hooks to v5 (#28330)
* Update dependency eslint-plugin-react-hooks to v5 * Iterate Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <[email protected]>
1 parent 7daa8b2 commit a7b3337

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ module.exports = {
266266
parserOptions: {
267267
project: ["./playwright/tsconfig.json"],
268268
},
269+
rules: {
270+
"react-hooks/rules-of-hooks": ["off"],
271+
},
269272
},
270273
],
271274
settings: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
"eslint-plugin-jsx-a11y": "^6.5.1",
243243
"eslint-plugin-matrix-org": "^2.0.2",
244244
"eslint-plugin-react": "^7.28.0",
245-
"eslint-plugin-react-hooks": "^4.3.0",
245+
"eslint-plugin-react-hooks": "^5.0.0",
246246
"eslint-plugin-unicorn": "^56.0.0",
247247
"express": "^4.18.2",
248248
"fake-indexeddb": "^6.0.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5683,10 +5683,10 @@ eslint-plugin-matrix-org@^2.0.2:
56835683
resolved "https://registry.yarnpkg.com/eslint-plugin-matrix-org/-/eslint-plugin-matrix-org-2.0.2.tgz#95b86b0f16704ab19740f7c3c62eae69e20365e6"
56845684
integrity sha512-cQy5Rjeq6uyu1mLXlPZwEJdyM0NmclrnEz68y792FSuuxzMyJNNYLGDQ5CkYW8H+PrD825HUFZ34pNXnjMOzOw==
56855685

5686-
eslint-plugin-react-hooks@^4.3.0:
5687-
version "4.6.2"
5688-
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596"
5689-
integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==
5686+
eslint-plugin-react-hooks@^5.0.0:
5687+
version "5.0.0"
5688+
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz#72e2eefbac4b694f5324154619fee44f5f60f101"
5689+
integrity sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==
56905690

56915691
eslint-plugin-react@^7.28.0:
56925692
version "7.37.1"

0 commit comments

Comments
 (0)