eslint-plugin-lodash-f weekly downloads statistics
By AndreaPontrandolfo (3 listings) · npm · ESLint plugins
Fork of eslint-plugin-lodash. has more rules than the original version.
eslint-plugin-lodash-f has 33,317 recorded weekly downloads on npm, a decrease of 42.7% over the past 30 days, ranking #665 of 2,322 tracked listings.
About eslint-plugin-lodash-f
ESLint-Plugin-Lodash-f
[![Maintenance Status][status-image]][status-url] [![NPM version][npm-image]][npm-url] [![Dependencies][deps-image]][deps-url] [![Build Status][build-image]][build-url]
Fork of ESLint-Plugin-Lodash, with added rules.
OLD CHANGELOG
News
- Version 2.0.0 was released, and now supports importing single methods! For a list of changes, you can check the changelog. For a detailed rundown of breaking changes and additions, you can check the release notes.
Installation
Install ESLint either locally or globally.
$ npm install eslint --save-dev
If you installed ESLint globally, you have to install the Lodash plugin globally too. Otherwise, install it locally.
$ npm install eslint-plugin-lodash --save-dev
Configuration
Add a plugins section and specify ESLint-Plugin-Lodash as a plugin.
You can additionally add settings for the plugin.
Shared Rule Settings
These are settings that can be shared by all of the rules. All settings are under the lodash inside the general settings object. For more info about shared settings, read the ESLint Configuration Guide.
- pragma: specifies the name you use for the Lodash variable in your code. If none is specified, the plugin checks what was
imported in ES6 modules orrequired in commonjs. - version: specifies the major Lodash Version you are using (default is
4). If you wish to use this plugin with Lodash v3, this value should be3. (on by default in the configv3)
Finally, enable all of the rules that you would like to use.
Recommended configuration
This plugin exports a recommended configuration that enforces all the rules.
You can configure the plugin as follows:
{
"plugins": ["lodash"],
"extends": ["plugin:lodash/recommended"]
}
Configuration for use with the full Lodash object
If you work with the full Lodash object with the same variable name every time, you should use the canonical configuration. This allows rules to run without explicitly importing Lodash in your code, and allows for faster execution for some of the rules:
{
"plugins": ["lodash"],
"extends": ["plugin:lodash/canonical"]
}
Configuration for Using with Lodash v3
Out of the box, this plugin supports the use of Lodash v4. To use with Lodash v3, the config needs to specify the version in the settings, and can't use some rules.
The plugin also exports a v3 config for ease of use.
{
"plugins": ["lodash"],
"extends": ["plugin:lodash/v3"]
}
List of provided rules
Rules are divided into categories for your convenience. All rules are off by default, unless you use one of the plugin's configurations which turn all relevant rules on.
Possible Errors
The following rules point out areas where you might have made mistakes.
- callback-binding: Use or avoid
thisArgfor Lodash method callbacks, depending on major version. - collection-method-value: Use value returned from collection methods properly.
- collection-return: Always return a value in iteratees of Lodash collection methods that aren't
forEach. - no-double-unwrap: Do not use
.value()on chains that have already ended (e.g. withmax()orreduce()) (fixable) - no-extra-args: Do not use superfluous arguments on Lodash methods with a specified arity.
- no-unbound-this: Do not use
thisinside callbacks without binding them. - unwrap: Prevent chaining without evaluation via
value()or non-chainable methods likemax().,…
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- lodash
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (122)Similar npm ESLint plugins plugins
All 20 eslint-plugin-lodash-f alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-lodash-f. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.