Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): update dependency eslint-plugin-react-hooks to ~4.4.0 #839

Open
wants to merge 2 commits into
base: renovate/react-monorepo
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`fails with incorrect file 1`] = `
"/eslint-config-react/__fixtures__/incorrect.js: line 7, col 25, Warning - Expected object keys to be in ascending order. 'a' should be before 'b'. (sort-keys-fix/sort-keys-fix)
/eslint-config-react/__fixtures__/incorrect.js: line 15, col 37, Error - 'name' is missing in props validation (react/prop-types)
/eslint-config-react/__fixtures__/incorrect.js: line 24, col 3, Error - img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. (jsx-a11y/alt-text)
/eslint-config-react/__fixtures__/incorrect.js: line 32, col 7, Error - React Hook \\"useState\\" is called in function \\"handleClick\\" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. (react-hooks/rules-of-hooks)
/eslint-config-react/__fixtures__/incorrect.js: line 32, col 7, Error - React Hook \\"useState\\" is called in function \\"handleClick\\" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word \\"use\\". (react-hooks/rules-of-hooks)

4 problems"
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"babel-eslint": "^10.1.0",
"eslint-plugin-jsx-a11y": "~6.5.1",
"eslint-plugin-react": "~7.29.0",
"eslint-plugin-react-hooks": "~4.2.0"
"eslint-plugin-react-hooks": "~4.4.0"
},
"devDependencies": {
"eslint": "^7.32.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3646,10 +3646,10 @@ eslint-plugin-prettier@~4.0.0:
dependencies:
prettier-linter-helpers "^1.0.0"

eslint-plugin-react-hooks@~4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==
eslint-plugin-react-hooks@~4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.4.0.tgz#71c39e528764c848d8253e1aa2c7024ed505f6c4"
integrity sha512-U3RVIfdzJaeKDQKEJbz5p3NW8/L80PCATJAfuojwbaEL+gBjfGdhUcGde+WGUW46Q5sr/NgxevsIiDtNXrvZaQ==

eslint-plugin-react@~7.29.0:
version "7.29.2"
Expand Down