Skip to content
Sarj Code Standards

TypeScript

99 rules oxlint@1.95.0

Complete effective rule inventory.

Docs

Rules

3 rules on this page · 99 total

  • typescript/unbound-method

    Enforce unbound methods are called with their expected scope

    : error in TypeScript source, React source, JavaScript source, React JavaScript source, Next.js app source, Next.js pages source, TypeScript tests, Bun tests, Playwright end-to-end tests, Design-system React source
    No autofix
  • typescript/unified-signatures

    Disallow two overloads that could be unified into one with a union or an optional/rest parameter

    : error in All TypeScript contexts
    No autofix
  • typescript/use-unknown-in-catch-callback-variable

    Enforce typing arguments in Promise rejection callbacks as unknown

    : error in TypeScript source, React source, JavaScript source, React JavaScript source, Next.js app source, Next.js pages source, TypeScript tests, Bun tests, Playwright end-to-end tests, Design-system React source
    Autofix available; suggestions available