eslint-config-formidable

raw JSON →
4.0.0 verified Sat Apr 25 auth: no javascript maintenance

A composable set of ESLint configurations from Formidable, based on eslint-config-walmart. Version 4.0.0 is the latest stable release but appears to be unmaintained since 2017. Compatible with ESLint 2.x and 3.x. Provides full configurations for ES5, ES6, React, browser, Node, and test environments, plus piecemeal rule sets. Differs from alternatives by offering granular rule categories (e.g., best-practices, ES6, Node) that can be extended individually. Key dependencies: eslint-plugin-import, eslint-plugin-filenames, and optionally babel-eslint and eslint-plugin-react.

error ESLint couldn't find the config "formidable". Please make sure to list it in your eslint config.
cause Global ESLint installation cannot resolve shareable configs from packages.
fix
Install eslint locally: npm install --save-dev eslint eslint-config-formidable and run via npm scripts or ./node_modules/.bin/eslint ..
error Cannot find module 'eslint-plugin-filenames'
cause Missing required dependency for all configurations.
fix
Install the plugin: npm install --save-dev eslint-plugin-filenames.
deprecated This package is no longer actively maintained by Formidable.
fix Migrate to modern ESLint configs like eslint-config-prettier or eslint-config-airbnb.
gotcha Global ESLint installation fails to extend this config properly due to ESLint issue #43.
fix Install ESLint locally and use `./node_modules/.bin/eslint .` or npm scripts.
gotcha This config tracks old ESLint version (3.19.0) and plugins (eslint-plugin-react 6.0.0).
fix Update to newer ESLint and plugins; consider using more recent config packages.
gotcha The 'formidable' top-level config is ES6-only, not ES5.
fix Use 'formidable/configurations/es5' for ES5 projects.
npm install eslint-config-formidable
yarn add eslint-config-formidable
pnpm add eslint-config-formidable

Shows how to extend the ES6+React configuration in .eslintrc, and notes workaround for global ESLint limitation.

.eslintrc:
---
"extends":
  - "formidable/configurations/es6-react"

Then run `./node_modules/.bin/eslint .` because global ESLint may not resolve config correctly.