Merged
Conversation
Serchinastico
commented
Mar 18, 2025
Member
|
Hey @Serchinastico, I have now migrated |
These changes include: - Adding the new required dependencies for eslint v9 (e.g. @eslint/eslintrc, @eslint/js, etc). - Include eslint's compat package to continue using @react-native/eslint-config with the new config format. - Move the inline eslint config (located in package.json) to the new flat file config format, in a separate file.
875e94a to
c0c6f90
Compare
Contributor
Author
Awesome, I updated the PR with version eslint-config-satya164@4.0.1. Just an update, some of the rules have changed in the update and had to add/change some ignore directives. |
9ca6093 to
72a579c
Compare
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.
Summary
This PR updates ESLint to version 9 for all created projects and for this very same repository as well.
Upgrading to ESLint 9 implies moving the inline ESLint config (located at
package.json) to a separate file:.eslint.config.mjs(docs).We are coming from discussion #793
Test plan
yarn lintin this project to make sure linting is unaffected.create-react-native-libraryand runyarn linton the newly created project to make sure linting does not report any error.