Skip to content

Commit

Permalink
build(deps-dev): Updates eslint-plugin-react-hooks from 4.6.2 to 5.…
Browse files Browse the repository at this point in the history
…0.0 (#7743)

Updates `eslint-plugin-react-hooks` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/[email protected]/packages/eslint-plugin-react-hooks)

---

- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert compiler changes

* Ignore false alarm from rules-of-hooks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrey Medvedev <[email protected]>
  • Loading branch information
dependabot[bot] and andrey-medvedev-vk authored Oct 21, 2024
1 parent 4d90822 commit bd64cef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-compiler": "0.0.0-experimental-56229e1-20240813",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-server-components": "^1.2.0",
"eslint-plugin-unicorn": "^55.0.0",
"husky": "^9.1.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/vkui/src/testing/e2e/index.playwright.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ export const test = testBase.extend<VKUITestOptions & InternalVKUITestOptions &
);
expectCallCount += 1;
};
// eslint-disable-next-line react-hooks/rules-of-hooks
await use(result);
},

componentPlaygroundProps: async ({ platform, colorSchemeType, adaptivityProviderProps }, use) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
await use({
platform,
colorScheme: colorSchemeType,
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4183,7 +4183,7 @@ __metadata:
eslint-plugin-prettier: "npm:^5.2.1"
eslint-plugin-react: "npm:^7.33.2"
eslint-plugin-react-compiler: "npm:0.0.0-experimental-56229e1-20240813"
eslint-plugin-react-hooks: "npm:^4.6.2"
eslint-plugin-react-hooks: "npm:^5.0.0"
eslint-plugin-react-server-components: "npm:^1.2.0"
eslint-plugin-unicorn: "npm:^55.0.0"
husky: "npm:^9.1.6"
Expand Down Expand Up @@ -7714,12 +7714,12 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-react-hooks@npm:^4.6.2":
version: 4.6.2
resolution: "eslint-plugin-react-hooks@npm:4.6.2"
"eslint-plugin-react-hooks@npm:^5.0.0":
version: 5.0.0
resolution: "eslint-plugin-react-hooks@npm:5.0.0"
peerDependencies:
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
checksum: 10/5a0680941f34e70cf505bcb6082df31a3e445d193ee95a88ff3483041eb944f4cefdaf7e81b0eb1feb4eeceee8c7c6ddb8a2a6e8c4c0388514a42e16ac7b7a69
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
checksum: 10/b762789832806b6981e2d910994e72aa7a85136fe0880572334b26cf1274ba37bd3b1365e77d2c2f92465337c4a65c84ef647bc499d33b86fc1110f2df7ef1bb
languageName: node
linkType: hard

Expand Down

0 comments on commit bd64cef

Please sign in to comment.