An ESLint plugin providing rules specifically for lodash/fp, the functional programming variant of Lodash. The current stable version is 2.2.0-alpha1 (pre-release) and targets ESLint >=3. It helps enforce FP best practices such as currying, data-last argument order, and composition, and prevents usage of impure or chain-based patterns. It offers over 20 rules, including `use-fp` to enforce lodash/fp over lodash, `no-chain` to forbid `_.chain`, and `prefer-constant` to replace arrow functions returning literals. It distinguishes itself from general Lodash linting by focusing on the FP paradigm and catching subtle issues like extraneous arguments and unused results.
Verified import paths — ran on the pinned version, not inferred.
ESLint automatically resolves 'eslint-plugin-' prefix when specifying plugin name in .eslintrc.
The plugin assumes you are using lodash/fp, not lodash. Use 'lodash/fp' import to match rules like `use-fp`.
For CommonJS, require the fp submodule. The plugin's `use-fp` rule will flag require('lodash').
Basic setup and a rule violation example: shows installation, configuration in .eslintrc.json, and how no-chain catches _.chain usage.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.