Skip to content

fix(NODE-3058): accept null or undefined anywhere we permit nullish values #2921

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jul 30, 2021

Conversation

nbbeeken
Copy link
Contributor

I added an ESLint rule to prevent us from mixing and matching our nullish checks, we should only be using double eq with a null literal now.

@nbbeeken nbbeeken requested a review from dariakp July 28, 2021 21:20
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Jul 28, 2021
@dariakp dariakp self-assigned this Jul 28, 2021
@dariakp dariakp added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Jul 29, 2021
@dariakp dariakp requested a review from durran July 29, 2021 21:20
@dariakp dariakp merged commit b42a1b4 into 4.0 Jul 30, 2021
@dariakp dariakp deleted the NODE-3058/nullish branch July 30, 2021 17:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants