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

explicit-length-check: Check unsafe LogicalExpressions #952

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Dec 22, 2020

No description provided.

@fisker
Copy link
Collaborator Author

fisker commented Dec 22, 2020

I think this will be the last PR for this rule. Some changes will help #887

@fisker
Copy link
Collaborator Author

fisker commented Dec 22, 2020

Possible improvements in future:

  1. Remove >= 1 option, highly doubt someone prefer this.
  2. Make it work for Set#size

@sindresorhus
Copy link
Owner

Possible improvements in future:

Can you move this to an issue so we don't forget?

@sindresorhus
Copy link
Owner

Can you fix the merge conflict?

# Conflicts:
#	test/snapshots/explicit-length-check.js.snap
@sindresorhus sindresorhus merged commit a1b60ad into sindresorhus:master Dec 23, 2020
@fisker fisker deleted the explicit-length-check-logical-expression branch December 23, 2020 07:37
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.

None yet

2 participants