by typescript-eslint · @typescript-eslint/eslint-plugin
The strict set plus rules that use the type checker, such as no-floating-promises. Slower to run, catches the most.
pnpm add -D eslint typescript-eslint// eslint.config.js
import tseslint from "typescript-eslint";
export default [
...tseslint.configs.strictTypeChecked,
{ languageOptions: { parserOptions: { projectService: true } } },
];| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| typescript/no-duplicate-enum-values | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/no-non-null-asserted-optional-chain | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/no-this-alias | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/prefer-namespace-keyword | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/no-extra-non-null-assertion | error | In ESLint, Oxlint, Biome | 257.6M | +52.0% |
| typescript/no-misused-new | error | In ESLint, Oxlint, Biome | 257.6M | +52.0% |
| typescript/no-unsafe-declaration-merging | error | In ESLint, Oxlint, Biome | 257.6M | +52.0% |
| typescript/triple-slash-reference | error | In ESLint, Oxlint, Biome | 256.9M | +52.0% |
| typescript/prefer-as-const | error | In ESLint, Oxlint, Biome | 229.6M | +47.3% |
| typescript/no-wrapper-object-types | error | In ESLint, Oxlint, Biome | 229.6M | +47.3% |
| eslint/prefer-const | error | In ESLint, Oxlint, Biome | 221.9M | +34.2% |
| eslint/prefer-rest-params | error | In ESLint, Oxlint, Biome | 218.5M | +34.5% |
| typescript/no-unnecessary-type-constraint | error | In ESLint, Oxlint, Biome | 207.9M | +36.6% |
| typescript/ban-ts-comment | error | In ESLint, Oxlint, Biome | 207.9M | +36.6% |
| typescript/no-explicit-any | error | In ESLint, Oxlint, Biome | 206.7M | +36.7% |
| eslint/no-var | error | In ESLint, Oxlint, Biome | 193.9M | +27.7% |
| eslint/prefer-spread | error | In ESLint, Oxlint, Biome | 190.5M | +27.9% |
| 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-unsafe-function-type | error | In ESLint, Oxlint, Biome | 179.9M | +29.8% |
| typescript/no-empty-object-type | error | In ESLint, Oxlint, Biome | 179.3M | +29.8% |
| typescript/no-namespace | error | In ESLint, Oxlint, Biome | 179.2M | +29.7% |
| typescript/no-require-imports | error | In ESLint, Oxlint, Biome | 176.6M | +29.0% |
| typescript/no-floating-promises | error | In ESLint, Oxlint, Biome | 124.5M | +87.2% |
| typescript/no-array-delete | error | In ESLint, Oxlint, Biome | 123.9M | +87.8% |
| typescript/no-duplicate-type-constituents | error | In ESLint, Oxlint, Biome | 123.9M | +87.8% |
| typescript/no-unsafe-unary-minus | error | In ESLint, Oxlint, Biome | 123.9M | +87.8% |
| typescript/no-redundant-type-constituents | error | In ESLint, Oxlint, Biome | 123.5M | +88.4% |
| typescript/no-implied-eval | error | In ESLint, Oxlint, Biome | 97.4M | +80.8% |
| typescript/no-for-in-array | error | In ESLint, Oxlint, Biome | 95.9M | +82.8% |
| typescript/no-base-to-string | error | In ESLint, Oxlint, Biome | 95.9M | +82.8% |
| typescript/await-thenable | error | In ESLint, Oxlint | 95.9M | +82.8% |
| typescript/restrict-template-expressions | error | In ESLint, Oxlint | 95.9M | +82.8% |
| typescript/no-meaningless-void-operator | error | In ESLint, Oxlint, Biome | 95.9M | +82.8% |
| typescript/no-misused-spread | error | In ESLint, Oxlint, Biome | 95.9M | +82.8% |
| typescript/no-useless-default-assignment | error | In ESLint, Oxlint, Biome | 95.9M | +82.8% |
| typescript/unbound-method | error | In ESLint, Oxlint | 95.5M | +83.6% |
| typescript/prefer-literal-enum-member | error | In ESLint, Oxlint, Biome | 76.5M | +52.6% |
| typescript/no-extraneous-class | error | In ESLint, Oxlint, Biome | 75.7M | +52.7% |
| typescript/no-invalid-void-type | error | In ESLint, Oxlint, Biome | 75.4M | +53.2% |
| typescript/no-misused-promises | error | In ESLint, Oxlint, Biome | 74.2M | +52.3% |
| typescript/no-unnecessary-type-assertion | error | In ESLint, Oxlint, Biome | 74.2M | +52.3% |
| typescript/no-non-null-assertion | error | In ESLint, Oxlint, Biome | 73.8M | +52.8% |
| typescript/no-useless-constructor | error | In ESLint, Biome | 51.9M | +26.1% |
| typescript/no-non-null-asserted-nullish-coalescing | error | In ESLint, Oxlint | 48.5M | +32.5% |
| typescript/return-await | error | In ESLint, Oxlint | 48.1M | +29.8% |
| typescript/unified-signatures | error | In ESLint, Oxlint, Biome | 47.8M | +32.3% |
| typescript/no-dynamic-delete | error | In ESLint, Oxlint, Biome | 47.7M | +32.3% |
| typescript/no-mixed-enums | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/no-unnecessary-template-expression | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/no-unsafe-return | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/only-throw-error | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/prefer-promise-reject-errors | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/prefer-reduce-type-parameter | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/restrict-plus-operands | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/no-unsafe-assignment | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/no-unsafe-enum-comparison | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/no-unsafe-member-access | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/no-deprecated | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/no-unnecessary-type-conversion | error | In ESLint, Oxlint, Biome | 46.2M | +31.3% |
| typescript/no-unsafe-enum-assignment | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/prefer-return-this-type | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/related-getter-setter-pairs | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/use-unknown-in-catch-callback-variable | error | In ESLint, Oxlint | 46.2M | +31.3% |
| typescript/no-unsafe-argument | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-unsafe-call | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-unnecessary-condition | error | In ESLint, Oxlint, Biome | 45.8M | +31.7% |
| typescript/no-confusing-void-expression | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-generated-empty-object-type | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-unnecessary-boolean-literal-compare | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-unnecessary-type-arguments | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-unnecessary-type-parameters | error | In ESLint, Oxlint | 45.8M | +31.7% |
| typescript/no-unsafe-class-instance-assignment | error | In ESLint, Oxlint | 45.6M | +31.7% |
| typescript/require-await | error | In ESLint, Oxlint, Biome | 43.8M | +28.9% |