{"id":19474,"library":"eslint-config-4catalyzer","title":"4Catalyzer ESLint Config","description":"A shared ESLint configuration used by 4Catalyzer projects. Version 1.5.0 provides a set of ESLint rules for consistent code style and quality. The package is actively maintained and serves as an internal standard, with peer dependency on eslint-plugin-import ^2.18.2. It is designed for use in JavaScript projects and relies on the Airbnb style guide as a base.","status":"active","version":"1.5.0","language":"javascript","source_language":"en","source_url":"https://github.com/4Catalyzer/javascript","tags":["javascript","eslint"],"install":[{"cmd":"npm install eslint-config-4catalyzer","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-4catalyzer","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-4catalyzer","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required peer dependency for import/export rules","package":"eslint-plugin-import","optional":false}],"imports":[{"note":"Used in .eslintrc.js or similar ESLint configuration files.","symbol":"default","correct":"module.exports = {\n  extends: '4catalyzer'\n};"},{"note":"In .eslintrc.json, the package name without 'eslint-config-' prefix is used.","wrong":"{\n  \"extends\": \"eslint-config-4catalyzer\"\n}","symbol":"default","correct":"{\n  \"extends\": \"4catalyzer\"\n}"},{"note":"Alternatively, specify in package.json under eslintConfig field.","symbol":"default","correct":"// In package.json\n\"eslintConfig\": {\n  \"extends\": \"4catalyzer\"\n}"}],"quickstart":{"code":"// Install dependencies\nnpm install eslint eslint-config-4catalyzer eslint-plugin-import --save-dev\n\n// Create .eslintrc.js file\nmodule.exports = {\n  extends: '4catalyzer',\n  rules: {\n    // Custom rules can be added here\n  }\n};","lang":"javascript","description":"Quick setup for using the 4Catalyzer ESLint config in a JavaScript project."},"warnings":[{"fix":"Check changelog and update code to comply with new rules.","message":"Major version bumps may include rule removals or additions that break existing code.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Override rules in your own ESLint config if needed.","message":"The config extends 'airbnb-base', so it inherits all Airbnb rules and might be strict.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Install eslint-plugin-import as a dev dependency.","message":"Requires eslint-plugin-import as a peer dependency; missing it will cause errors.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run: npm install eslint-plugin-import --save-dev","cause":"Missing required peer dependency eslint-plugin-import.","error":"Failed to load plugin 'import' declared in '4catalyzer': Cannot find module 'eslint-plugin-import'"},{"fix":"Check your .eslintrc and ensure rule severities are 0, 1, or 2.","cause":"Possibly overriding a rule with incorrect severity value in user config.","error":"Configuration for rule 'no-console' is invalid: Severity should be one of the following: 0 = off, 1 = warn, 2 = error"},{"fix":"Ensure eslint-config-4catalyzer is installed and extends uses '4catalyzer' (not full package name).","cause":"The package is not installed or misconfigured in extends field.","error":"ESLint couldn't find the config '4catalyzer' to extend from."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}