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

Allow React.createContext(undefined) in no-useless-undefined #1688

Merged
merged 1 commit into from Jan 11, 2022
Merged

Allow React.createContext(undefined) in no-useless-undefined #1688

merged 1 commit into from Jan 11, 2022

Conversation

kachkaev
Copy link
Contributor

Closes #1684

@kachkaev kachkaev marked this pull request as ready for review January 10, 2022 21:34
@kachkaev kachkaev changed the title Allow React.createContext(undefined) Allow React.createContext(undefined) in no-useless-undefined Jan 10, 2022
@sindresorhus sindresorhus merged commit 40bc603 into sindresorhus:main Jan 11, 2022
@kachkaev kachkaev deleted the allow-React.createContext(undefined) branch January 11, 2022 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule clash when using no-useless-undefined, no-null, TypeScript and React.createContext
3 participants