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 prefer-is-empty rule #342

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AndreaPontrandolfo
Copy link

Added prefer-is-empty rule. It enforces the use of isEmpty Lodash method over the native syntax. The rule is accompanied by tests.

@AndreaPontrandolfo AndreaPontrandolfo changed the title feat: added prefer-is-empty rule add prefer-is-empty rule Sep 11, 2022
@coveralls
Copy link

coveralls commented Sep 11, 2022

Pull Request Test Coverage Report for Build 724

  • 34 of 41 (82.93%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.0%) to 99.022%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/rules/prefer-is-empty.js 34 41 82.93%
Totals Coverage Status
Change from base Build 723: -1.0%
Covered Lines: 1033
Relevant Lines: 1040

💛 - Coveralls

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