Skip to content

Commit

Permalink
fix(deps): update react monorepo (major) (#243)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Zempel <[email protected]>
  • Loading branch information
renovate[bot] and jzempel authored Dec 17, 2024
1 parent 94c8e74 commit 09bbd82
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 27 deletions.
32 changes: 11 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@
},
"dependencies": {
"@babel/eslint-parser": "7.25.1",
"@eslint/compat": "1.1.1",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-plugin-n": "17.10.2",
"eslint-plugin-notice": "1.0.0",
"eslint-plugin-react": "7.36.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react-hooks": "5.1.0",
"globals": "15.9.0",
"typescript-eslint": "8.5.0"
},
Expand All @@ -48,7 +47,7 @@
"husky": "9.1.6",
"jest": "29.7.0",
"prettier-package-json": "2.8.0",
"react": "18.3.1",
"react": "19.0.0",
"typescript": "5.6.2"
},
"keywords": [
Expand Down
4 changes: 1 addition & 3 deletions plugins/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/

import { fixupPluginRules } from '@eslint/compat';
import jsxA11yPlugin from 'eslint-plugin-jsx-a11y';
import reactHooksPlugin from 'eslint-plugin-react-hooks';
import reactPlugin from 'eslint-plugin-react';

export default {
plugins: {
react: reactPlugin,
// TODO remove fixup when eslint-plugin-react-hooks 5.x is released
'react-hooks': fixupPluginRules(reactHooksPlugin),
'react-hooks': reactHooksPlugin,
'jsx-a11y': jsxA11yPlugin
},
languageOptions: {
Expand Down

0 comments on commit 09bbd82

Please sign in to comment.