File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff 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 : {
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
56915691eslint-plugin-react@^7.28.0:
56925692 version "7.37.1"
You can’t perform that action at this time.
0 commit comments