Skip to content
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

Rule: if-object-literal #835

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Rule: if-object-literal #835

merged 1 commit into from
Jun 13, 2024

Conversation

anderseknert
Copy link
Member

This replaces if-empty-object, and covers any object literal.

Fixes #822

This replaces `if-empty-object`, and covers any object literal.

Fixes #822

Signed-off-by: Anders Eknert <anders@styra.com>
Copy link
Member

@charlieegan3 charlieegan3 left a comment

Choose a reason for hiding this comment

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

Makes sense!

@anderseknert anderseknert merged commit 34fc452 into main Jun 13, 2024
3 checks passed
@anderseknert anderseknert deleted the if-object-literal branch June 13, 2024 10:30
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
This replaces `if-empty-object`, and covers any object literal.

Fixes StyraInc#822

Signed-off-by: Anders Eknert <anders@styra.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule: if-object-literal
2 participants