ESLint plugin with 18 rules enforcing functional programming style in JavaScript. Version 2.3.0 is the latest (2017), with no new releases since. It forbids imperative constructs like loops, mutation, classes, this, and null. Differentiates from eslint-plugin-functional by broader rule set and stricter defaults. Works with ESLint >=3 and Node >=4.
npm install eslint-plugin-fpVerified import paths — ran on the pinned version, not inferred.
Shows how to configure eslint-plugin-fp with recommended config and enable additional rules.
Consider eslint-plugin-functional or eslint-plugin-ramda for maintained alternatives.
Use only functional array methods and avoid mutating methods.
Use Maybe/Option patterns or disable the rule.
Run npm install --save-dev eslint-plugin-fp and ensure it's listed in plugins: ["fp"].
Check that plugin is in plugins array and rule name is exactly 'fp/no-let'.
Use 'error' or ['error', options] not just options.