Skip to content

Conversation

@AbhiPrasad
Copy link
Member

Make sure we guard against using equality operator with an empty array or object.

This is to prevent cases like #3779 which we missed in the initial code review.

Adding eslint rules is pretty easy + very quick to dev, we should aggressively leverage them to make code reviews easier.

Make sure we guard against using equality operator with an empty array.
@AbhiPrasad AbhiPrasad requested a review from kamilogorek as a code owner July 7, 2021 21:01
@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.43 KB (0%)
@sentry/browser - Webpack 22.45 KB (0%)
@sentry/react - Webpack 22.49 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.93 KB (0%)

Copy link
Contributor

@kamilogorek kamilogorek left a comment

Choose a reason for hiding this comment

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

💯

@AbhiPrasad AbhiPrasad merged commit e814408 into master Jul 8, 2021
@AbhiPrasad AbhiPrasad deleted the abhi-eslint-no-eq branch July 8, 2021 10:42
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.

3 participants