by Matt Turnbull · eslint-config-airbnb-typescript
Used on top of the Airbnb config: replaces the rules that have a typescript-eslint equivalent with that equivalent.
pnpm add -D eslint eslint-config-airbnb-typescript// .eslintrc.json (legacy config format)
{
"extends": ["airbnb", "airbnb-typescript"]
}| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| typescript/no-unused-vars | error | In ESLint, Biome | 184.2M | +27.9% |
| typescript/no-array-constructor | error | In ESLint, Biome | 184.1M | +28.1% |
| typescript/no-unused-expressions | error | In ESLint | 183.4M | +28.0% |
| typescript/no-implied-eval | error | In ESLint, Oxlint, Biome | 97.4M | +80.8% |
| typescript/no-useless-constructor | error | In ESLint, Biome | 51.9M | +26.1% |
| typescript/return-await | error | In ESLint, Oxlint | 48.1M | +29.8% |
| typescript/no-empty-function | error | In ESLint, Biome | 46M | +27.1% |
| import/no-extraneous-dependencies | error | In ESLint, Biome | 14.2M | +11.5% |
| import/extensions | error | In ESLint, Oxlint, Biome | 11.8M | +2.4% |
| typescript/no-redeclare | error | In ESLint, Biome | 6.6M | +4.4% |
| typescript/no-use-before-define | error | In ESLint, Biome | 6.4M | +5.8% |
| react/jsx-filename-extension | error | In ESLint, Oxlint | 5.2M | +2.1% |
| typescript/dot-notation | error | In ESLint, Oxlint, Biome | 4.4M | +39.9% |
| typescript/no-dupe-class-members | error | In ESLint, Biome | 3.5M | +13.0% |
| typescript/no-shadow | error | In ESLint, Biome | 3.5M | +2.6% |
| typescript/naming-convention | error | In ESLint, Biome | 2.4M | +2.0% |
| typescript/default-param-last | error | In ESLint, Biome | 2.2M | 0% |
| typescript/no-loss-of-precision | error | In ESLint, Biome | 2.2M | +6.7% |
| typescript/no-loop-func | error | In ESLint, Biome | 1.8M | +1.6% |