eslint-config-airbnb-typescript

Airbnb's ESLint config extended with TypeScript support

Library
npm
v18.0.0
1,042 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
49 /100 Fair
Development Activity 0
Maintenance 44
Community 52
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
76 /100 Good
Architecture 74
Code Quality 76
Innovation 68
Learning Curve 84

eslint-config-airbnb-typescript is a shareable ESLint configuration that layers TypeScript support on top of Airbnb’s widely used JavaScript style guide. It maps Airbnb’s rules onto their typescript-eslint equivalents so that .ts and .tsx files are linted with the same conventions Airbnb applies to JavaScript, including type-aware rules that require a TypeScript project reference.

Distributed as a drop-in config, it is meant to be composed with eslint-config-airbnb (or airbnb-base) and extended in your ESLint configuration. The project reached over two million weekly downloads before being archived by its maintainer, and remains a common baseline for TypeScript linting setups.

What You Get

  • Airbnb’s style rules mapped to their typescript-eslint equivalents
  • Type-aware linting for .ts and .tsx files backed by a TypeScript project
  • A base config for pure TypeScript plus an index config that adds React rules
  • Drop-in composition with eslint-config-airbnb and airbnb-base
  • A single, opinionated baseline so teams avoid hand-tuning dozens of rules

Common Use Cases

  • Applying Airbnb’s style guide to a TypeScript codebase
  • Standardizing linting across a team migrating from JavaScript to TypeScript
  • Bootstrapping consistent lint rules in a new TypeScript or React project
  • Enforcing type-aware rules that catch issues plain JavaScript configs miss

Under The Hood

Architecture - The package is a set of ESLint config objects: base.js defines the TypeScript rule mappings for general code, index.js extends it with React-specific rules, and a lib directory holds the underlying rule definitions. Each config is designed to be layered on top of Airbnb’s own configs via ESLint’s extends mechanism.

Tech Stack - Authored in JavaScript as ESLint configuration, it depends on @typescript-eslint/eslint-plugin and parser to translate Airbnb’s rules into type-aware equivalents, and it requires the consumer to point ESLint at a tsconfig for the rules that need type information.

Code Quality - The repo carries CI configuration, a changelog, Renovate for dependency updates, lint-staged and Prettier config, and contributor documentation, indicating disciplined maintenance during its active life. It has since been archived by the author, so it is now feature-frozen.

API Design - As a config package there is no runtime API; the developer experience is about composition. Setup is a matter of installing peer dependencies and adding the config to an ESLint extends array, with clear README instructions covering the required ordering relative to the Airbnb base configs.

Used by 14 apps in this directory

Svelte
32%
GPL 3.0

Mathesar

Databases

5,158

Spreadsheet-like interface for your PostgreSQL database — self-hosted, no SQL required, native Postgres access control.

View details
70
Repo Health
80
Technical
68
Dependency
Built with
Svelte 32%
TypeScript 27%
Python 21%
Updated 1 weeks ago
TypeScript
94%
Apache 2.0

Nanobrowser

AI Assistants · Automation · Productivity

14,163

Open-source Chrome extension for AI-powered web automation — run multi-agent browser workflows locally using your own LLM API keys, free from cloud subscriptions.

View details
80
Repo Health
66
Technical
72
Dependency
Built with
TypeScript 94%
Updated 2 weeks ago
TypeScript
92%
Other

OpenHands

AI Code Assistants · AI Development

91,695

The self-hosted developer control center for running AI coding agents — locally, in Docker, on VMs, or across cloud backends — with automation workflows for GitHub, Slack, and more.

View details
91
Repo Health
82
Technical
67
Dependency
Built with
TypeScript 92%
Updated 1 weeks ago
TypeScript
54%
Other

OpenReplay

Analytics

13,042

Self-hosted session replay and product analytics suite that lets you see exactly what users do on your web app — without sending data to third parties.

View details
91
Repo Health
77
Technical
66
Dependency
Built with
TypeScript 54%
Go 13%
Updated 1 weeks ago
TypeScript
89%
Other

strapi

CMS

73,368

Open-source headless CMS that auto-generates REST and GraphQL APIs from your content models, with a fully customizable admin panel you control.

View details
93
Repo Health
84
Technical
63
Dependency
Built with
TypeScript 89%
JavaScript 11%
Updated 1 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers