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

bump @typescript-eslint and prettier versions in eslint-config #27319

Closed

Conversation

dulmandakh
Copy link
Contributor

Summary

This PR adds eslint 6 support to @react-native-community/eslint-config by bumping old dependencies and changing eslint version requirements.

Changelog

[General] [Changed] - add ESLint 6 support to @react-native-community/eslint-config

Test Plan

Below warnings are gone

warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 23, 2019
@facebook-github-bot facebook-github-bot added the Contributor A React Native contributor. label Nov 23, 2019
@dulmandakh
Copy link
Contributor Author

@matthargett @michalchudziak please publish updated package to npm. Thanks

@elicwhite
Copy link
Member

For this to be merged we have to upgrade these packages across the rest of the Facebook monorepo. It might be a little while for someone to get to this.

"eslint-plugin-react": "7.16.0",
"eslint-plugin-react-hooks": "^2.0.1",
"eslint-plugin-react-native": "3.8.1",
"prettier": "1.17.0"
"prettier": "^1.17.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think this could be bumped to 1.19.1 for typescript optional chaining support?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any idea to use typescript optional chaining in react native? Sorry to beginner question

@elicwhite
Copy link
Member

@hramos might be able to help with updating these packages

@Naturalclar
Copy link
Contributor

Seems like this can be closed as #28393 solved the issue.

@dulmandakh dulmandakh closed this Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants