Registry / testing / eslint-config-madecomfy

eslint-config-madecomfy

JSON →
library1.0.7jsnpmunverified

A shareable ESLint configuration package from MadeComfy, currently at version 1.0.7. It is intended for internal use across MadeComfy projects to enforce consistent code style. The package extends ESLint with a predefined rule set but has not been actively updated since 2020, which may lead to incompatibility with modern ESLint versions (ESLint 8+). It assumes code is located in ./src/ and provides minimal configuration by simply extending 'madecomfy'. Release cadence is low, with security and dependency updates in recent versions.

npm install eslint-config-madecomfy
INSTALL
IMPORT
SIG · ESLINT-CONFIG-MADE
E
eslint-config-madecomfy
testingjavascriptv1.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default config
✓ extends: ['madecomfy'] in .eslintrc
✗ require('eslint-config-madecomfy') or import statement
This is a shareable config; it is used via the ESLint 'extends' mechanism, not imported directly.
ESLint module
✓ npx eslint src or yarn lint (after configuring script)
✗ Running eslint without config or without specifying source directory
The config expects source files in ./src/. Ensure ESLint is installed as a dev dependency.
precommit hook (optional)
✓ Add 'precommit': 'lint-staged' script and configure lint-staged in package.json
✗ Using 'pre-commit' hook without lint-staged or incorrect glob pattern
The config recommends husky and lint-staged for precommit linting but does not include them.

Minimal .eslintrc configuration to use MadeComfy ESLint config.

{ "extends": ["madecomfy"], "rules": {} }
Debug
Known issues
gotchaThis config is designed for ESLint 6/7 and may not work correctly with ESLint 8+ due to rule format changes.
fix
Pin ESLint to version 7.x or migrate to a maintained config like eslint-config-airbnb.
affects: >=1.0.0
gotchaThe config expects source code in ./src/. If your code is elsewhere, eslint will not find it.
fix
Modify the lint script to point to your source directory, e.g., 'lint': 'eslint src/ app/'.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-madecomfy'
eslint-config-madecomfy is not installed or not in node_modules.
fix
Run 'npm install eslint-config-madecomfy --save-dev' or 'yarn add eslint-config-madecomfy --dev'.
Error: ESLint configuration is invalid: The 'extends' property value 'madecomfy' is not a valid configuration.
The config string 'madecomfy' is not resolved or the config package is missing.
fix
Ensure eslint-config-madecomfy is installed and listed in devDependencies. Also verify ESLint version compatibility.
Upgrade
Version history
1.0.7latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
eslint-config-madecomfy — npm install eslint-config-madecomfy · libregistry