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

Add no-useless-fallback-in-spread rule #1481

Merged
merged 8 commits into from Aug 16, 2021

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Aug 12, 2021

Fixes #1475

@fisker fisker force-pushed the no-useless-fallback-in-spread branch from ebf6340 to 7066f71 Compare August 12, 2021 11:24
@fisker fisker marked this pull request as ready for review August 12, 2021 11:41
@sindresorhus sindresorhus merged commit 1675118 into sindresorhus:main Aug 16, 2021
@fisker fisker deleted the no-useless-fallback-in-spread branch August 16, 2021 17:28
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 proposal: Forbid ...(foo || {}) and ...(foo ?? {}) in object literal
2 participants