by Google · gts
Google's TypeScript style guide as a ready-made lint and format setup.
pnpm add -D gts// eslint.config.js
import gts from "gts";
export default [
...gts,
];| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| eslint/no-cond-assign | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-ex-assign | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-global-assign | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-shadow-restricted-names | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-sparse-arrays | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/use-isnan | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-control-regex | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-useless-escape | error | In ESLint, Oxlint, Biome | 278.7M | +44.9% |
| eslint/no-empty-character-class | error | In ESLint, Oxlint, Biome | 278.3M | +45.0% |
| eslint/no-duplicate-case | error | In ESLint, Oxlint, Biome | 278.3M | +45.2% |
| eslint/no-empty-pattern | error | In ESLint, Oxlint, Biome | 278.3M | +45.2% |
| eslint/no-self-assign | error | In ESLint, Oxlint, Biome | 278.3M | +45.2% |
| eslint/valid-typeof | error | In ESLint, Oxlint, Biome | 278M | +44.8% |
| eslint/no-debugger | error | In ESLint, Oxlint, Biome | 275.4M | +45.8% |
| eslint/no-extra-boolean-cast | error | In ESLint, Oxlint, Biome | 275.4M | +45.8% |
| eslint/no-irregular-whitespace | error | In ESLint, Oxlint, Biome | 274.9M | +45.9% |
| eslint/no-async-promise-executor | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-compare-neg-zero | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-misleading-character-class | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-unsafe-finally | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-useless-catch | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/require-yield | error | In ESLint, Oxlint, Biome | 274.1M | +45.6% |
| eslint/no-unused-labels | error | In ESLint, Oxlint, Biome | 273.9M | +45.6% |
| eslint/no-loss-of-precision | error | In ESLint, Oxlint, Biome | 273.9M | +46.0% |
| eslint/no-constant-condition | error | In ESLint, Oxlint, Biome | 273.5M | +46.0% |
| eslint/no-useless-backreference | error | In ESLint, Oxlint, Biome | 273M | +46.1% |
| eslint/for-direction | error | In ESLint, Oxlint, Biome | 270.1M | +46.5% |
| eslint/no-dupe-else-if | error | In ESLint, Oxlint, Biome | 270.1M | +46.5% |
| eslint/no-nonoctal-decimal-escape | error | In ESLint, Oxlint, Biome | 270M | +46.5% |
| eslint/no-unsafe-optional-chaining | error | In ESLint, Oxlint, Biome | 269.9M | +46.5% |
| eslint/no-unused-private-class-members | error | In ESLint, Oxlint, Biome | 259.6M | +49.1% |
| 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% |
| eslint/no-delete-var | error | In ESLint, Oxlint, Biome | 251.5M | +40.3% |
| eslint/no-invalid-regexp | error | In ESLint, Oxlint | 250.3M | +40.3% |
| eslint/no-constant-binary-expression | error | In ESLint, Oxlint, Biome | 232.1M | +44.0% |
| eslint/no-empty-static-block | error | In ESLint, Oxlint, Biome | 232.1M | +44.0% |
| eslint/no-fallthrough | error | In ESLint, Oxlint, Biome | 229.8M | +30.9% |
| eslint/no-regex-spaces | error | In ESLint, Oxlint, Biome | 229.8M | +30.9% |
| eslint/no-octal | error | In ESLint, Biome | 229.7M | +30.9% |
| 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/no-case-declarations | error | In ESLint, Oxlint, Biome | 224.5M | +31.6% |
| eslint/no-prototype-builtins | error | In ESLint, Oxlint, Biome | 224.4M | +31.6% |
| 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 | warn | In ESLint, Oxlint, Biome | 207.9M | +36.6% |
| typescript/no-explicit-any | error | In ESLint, Oxlint, Biome | 206.7M | +36.7% |
| eslint/no-empty | error | In ESLint, Oxlint, Biome | 196.5M | +25.1% |
| 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-namespace | error | In ESLint, Oxlint, Biome | 179.2M | +29.7% |
| typescript/no-floating-promises | error | In ESLint, Oxlint, Biome | 124.5M | +87.2% |
| eslint/eqeqeq | error | In ESLint, Oxlint, Biome | 50.5M | +50.5% |
| eslint/prefer-arrow-callback | error | In ESLint, Oxlint, Biome | 41.8M | +63.5% |
| eslint/no-restricted-properties | error | In ESLint, Oxlint, Biome | 15.3M | +4.9% |
| eslint/eol-last | error | In ESLint | 14.2M | +5.4% |
| eslint/no-trailing-spaces | error | In ESLint | 14.2M | +5.4% |
| eslint/quotes | warn | In ESLint | 14.2M | +5.4% |
| eslint/block-scoped-var | error | In ESLint, Oxlint | 13.6M | +14.4% |