wix-incubator / eslint-plugin-lodash

ESLint rules for lodash
MIT License
277 stars 65 forks source link

add prefer-is-empty rule #342

Open AndreaPontrandolfo opened 2 years ago

AndreaPontrandolfo commented 2 years ago

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

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 724


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

💛 - Coveralls