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.
npm install -D eslint eslint-config-airbnb-typescript// .eslintrc.json (legacy config format)
{
"extends": ["airbnb", "airbnb-typescript"]
}| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| typescript/no-unused-vars In ESLint, Biome185.6M reach · +28.5% | error | In ESLint, Biome | 185.6M | +28.5% |
| typescript/no-array-constructor In ESLint, Biome185.6M reach · +28.7% | error | In ESLint, Biome | 185.6M | +28.7% |
| typescript/no-unused-expressions In ESLint184.8M reach · +28.6% | error | In ESLint | 184.8M | +28.6% |
| typescript/no-implied-eval In ESLint, Oxlint, Biome98.9M reach · +80.9% | error | In ESLint, Oxlint, Biome | 98.9M | +80.9% |
| typescript/no-useless-constructor In ESLint, Biome52.3M reach · +26.6% | error | In ESLint, Biome | 52.3M | +26.6% |
| typescript/return-await In ESLint, Oxlint48.5M reach · +30.4% | error | In ESLint, Oxlint | 48.5M | +30.4% |
| typescript/no-empty-function In ESLint, Biome46.4M reach · +27.7% | error | In ESLint, Biome | 46.4M | +27.7% |
| import/no-extraneous-dependencies In ESLint, Biome14.2M reach · +11.4% | error | In ESLint, Biome | 14.2M | +11.4% |
| import/extensions In ESLint, Oxlint, Biome11.8M reach · +2.0% | error | In ESLint, Oxlint, Biome | 11.8M | +2.0% |
| typescript/no-redeclare In ESLint, Biome6.6M reach · +4.3% | error | In ESLint, Biome | 6.6M | +4.3% |
| typescript/no-use-before-define In ESLint, Biome6.4M reach · +5.7% | error | In ESLint, Biome | 6.4M | +5.7% |
| react/jsx-filename-extension In ESLint, Oxlint5.2M reach · +1.9% | error | In ESLint, Oxlint | 5.2M | +1.9% |
| typescript/dot-notation In ESLint, Oxlint, Biome4.5M reach · +40.5% | error | In ESLint, Oxlint, Biome | 4.5M | +40.5% |
| typescript/no-dupe-class-members In ESLint, Biome3.5M reach · +13.2% | error | In ESLint, Biome | 3.5M | +13.2% |
| typescript/no-shadow In ESLint, Biome3.5M reach · +2.0% | error | In ESLint, Biome | 3.5M | +2.0% |
| typescript/naming-convention In ESLint, Biome2.4M reach · +2.1% | error | In ESLint, Biome | 2.4M | +2.1% |
| typescript/default-param-last In ESLint, Biome2.2M reach · 0% | error | In ESLint, Biome | 2.2M | 0% |
| typescript/no-loss-of-precision In ESLint, Biome2.2M reach · +6.6% | error | In ESLint, Biome | 2.2M | +6.6% |
| typescript/no-loop-func In ESLint, Biome1.8M reach · +1.2% | error | In ESLint, Biome | 1.8M | +1.2% |