Claude/update dependencies f x jw5#788
Open
robertoosantos wants to merge 3 commits into
Open
Conversation
- Remove @types/react-native (deprecated; react-native ships its own types) - Replace eslint-plugin-eslint-comments with @eslint-community/eslint-plugin-eslint-comments (unmaintained, superseded by community fork) - Update eslint-config-airbnb-typescript ^17.1.0 → ^18.0.0 - Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser ^6.7.4 → ^7.0.0 - Update eslint ^8.51.0 → ^8.57.0 (latest 8.x) - Update eslint-plugin-jsdoc ^46.8.2 → ^50.6.0 - Update eslint-plugin-json ^3.1.0 → ^4.0.0 - Update eslint-plugin-import ^2.28.1 → ^2.31.0 - Update eslint-plugin-jsx-a11y ^6.7.1 → ^6.10.0 - Update eslint-plugin-react 7.33.2 → ^7.37.0 - Update eslint-config-prettier ^9.0.0 → ^9.1.0 - Update prettier 3.0.3 → ^3.5.0 - Update typescript ^5.2.2 → ^5.7.0 - Update react-native-gesture-handler ~2.13.1 → ~2.24.0 Note: ESLint 8 is deprecated but migration to ESLint 9 requires flat config and is blocked by eslint-config-airbnb not supporting it. https://claude.ai/code/session_01HABw8FcKGb8FFh5Piop3oh
These packages are stale (no releases in years), don't support ESLint 9 flat config, and constrain other dependency upgrades (e.g. eslint-plugin-react-hooks pinned to v4). The project retains eslint:recommended, @typescript-eslint/recommended, and the individual plugin recommended configs which provide sufficient rule coverage. https://claude.ai/code/session_01HABw8FcKGb8FFh5Piop3oh
- Replace .eslintrc.yaml + .eslintignore with eslint.config.mjs (flat config)
- Upgrade eslint ^8.57.0 → ^9.0.0
- Upgrade @typescript-eslint/{eslint-plugin,parser} ^7 → ^8 (ESLint 9 support)
- Upgrade eslint-plugin-react-hooks ^4.6.0 → ^5.0.0
- Upgrade eslint-plugin-react-native ^4.1.0 → ^5.0.0
- Add @eslint/js ^9.0.0 (provides js.configs.recommended for flat config)
- Add globals ^15.0.0 (provides typed globals for flat config)
- Convert eslintComments plugin to flat config (plugins was legacy string array)
- Move .eslintignore patterns into flat config ignores array
https://claude.ai/code/session_01HABw8FcKGb8FFh5Piop3oh
Author
|
Review over deprecated dependencies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.