eslint-plugin-lodash
eslint-plugin-lodash copied to clipboard
ESLint rules for lodash
First suggested in #136. The `prefer-lodash-method` rule is overly complex and covers too many options. It should be split into the following rules: - `lodash-collection-method` for collection methods (`some`, `find`,...
This set of rules is really great and I would love to create a port for TSLint. But before starting I would like to check if there is maybe already...
The rule `no-unbound-this` currently only works for collection methods. Other Lodash methods have function arguments (e.g. the predicate in `dropWhile`, the resolver in `memoize` that may have the same error...
🏆 Thanks!
Added prefer-is-empty rule. It enforces the use of isEmpty Lodash method over the native syntax. The rule is accompanied by tests.
Add new rule prefer-nullish-coalescing and accompanying tests.
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. Release notes Sourced from semver's releases. v6.3.1 6.3.1 (2023-07-10) Bug Fixes 928e56d #591 better handling of whitespace (#591) (@lukekarrys, @joaomoreno, @nicolo-ribaudo) Changelog Sourced from...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...