{"id":19481,"library":"eslint-config-airbnb-prettier","title":"eslint-config-airbnb-prettier","description":"Combines Airbnb's ESLint configuration with Prettier formatting to provide a consistent code style without conflicts. Version 1.1.0 is the latest stable release, published as a simple one-off package. It bundles eslint-config-prettier to disable Airbnb rules that would conflict with Prettier. Note that this package has not been updated since 2018 and relies on deprecated ESLint 4.x, making it unsuitable for modern ESLint 5+ or React 17 projects. Alternatives include using eslint-config-airbnb directly with eslint-config-prettier, or adopting standardized configs.","status":"deprecated","version":"1.1.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install eslint-config-airbnb-prettier","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-airbnb-prettier","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-airbnb-prettier","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for ESLint version 4.18.1 or higher to resolve lint rules","package":"eslint","optional":false}],"imports":[{"note":"The config is published under the name 'eslint-config-airbnb-prettier', so the extends value is 'airbnb-prettier'. Using 'airbnb/prettier' would try to load a sub-config from eslint-config-airbnb, which does not exist.","wrong":"extends: ['airbnb/prettier']","symbol":"default config","correct":"extends: ['airbnb-prettier']"}],"quickstart":{"code":"// Install dependencies\n// npm install --save-dev eslint eslint-config-airbnb-prettier\n\n// .eslintrc.json\n{\n  \"extends\": [\n    \"airbnb-prettier\"\n  ],\n  \"rules\": {}\n}\n\n// Run lint\n// npx eslint src/\n","lang":"javascript","description":"Shows how to install and configure eslint-config-airbnb-prettier in an .eslintrc.json file, enabling Airbnb rules with Prettier conflict resolution."},"warnings":[{"fix":"Use eslint-config-airbnb with eslint-config-prettier separately to support modern ESLint versions.","message":"This package is no longer maintained and relies on ESLint 4.x, which is deprecated.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Downgrade to ESLint 4.x or switch to alternative config setup.","message":"ESLint 4.x peer dependency prevents usage with ESLint 5+.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Set extends to 'airbnb-prettier'.","message":"The extends value must be 'airbnb-prettier', not 'airbnb/prettier'.","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":"Ensure the package is installed: npm install --save-dev eslint-config-airbnb-prettier","cause":"Missing or incorrectly installed eslint-config-airbnb-prettier package.","error":"ESLint couldn't find the config \"airbnb-prettier\"."},{"fix":"Install eslint-config-airbnb manually: npm install --save-dev eslint-config-airbnb","cause":"eslint-config-airbnb is a transitive dependency but not installed due to npm peer dependency issues.","error":"Cannot find module 'eslint-config-airbnb'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}