A shareable ESLint configuration combining Airbnb's base style guide with TypeScript support and Prettier integration. v5.1.0 is current; built on eslint-config-airbnb-base and @typescript-eslint/parser. Requires manual installation of peer dependencies. Updated regularly for security; last update v5.1.0 (April 2024). Differentiator: single config package that merges Airbnb's base (no React) with TypeScript and Prettier, avoiding multiple extends.
npm install eslint-config-airbnb-base-typescript-prettierVerified import paths — ran on the pinned version, not inferred.
Install peer deps, create config files with base setup, and lint TypeScript files.
Run npm outdated and update peer dependencies.
If using React, switch to eslint-config-airbnb-typescript-prettier or add react plugin manually.
Do not set parser in your .eslintrc; the config uses @typescript-eslint/parser internally.
Use .eslintrc.js or .eslintrc.json; for flat config, manually extend or migrate.
Use prettier v2 or adjust Prettier options accordingly.
Run: npm install --save-dev eslint-config-airbnb-base-typescript-prettier
Run: npm install --save-dev @typescript-eslint/parser
Ensure .eslintrc.js extends 'airbnb-base-typescript-prettier' and run eslint with --ext .ts,.tsx