Skip to main content

๏‚ญ ESLint plugin for modern TypeScript teams ๏„ต

eslint-plugin-typefest

ESLint rules that recommend safer, clearer TypeScript types, type guards, and other patterns by utilizing type-fest and ts-extras

Flat Config native

Drop-in config for ESLint v9+ and modern repos.

TypeScript-first

Type-aware guidance without sacrificing readability.

Actionable rule docs

Clear diagnostics with safe autofixes and suggestions.

  • npm license
  • npm total downloads
  • latest GitHub release
  • GitHub stars
  • GitHub forks
  • GitHub open issues
  • Codecov

๏ƒŠ 70+ Rules

Type-safe patterns from type-fest and ts-extras.

๎š 6 Presets

Start small, then scale to stricter coverage.

๓ฐจ DX-first Autofix & Suggestions

Safe rewrites where semantics are preserved.

๏„ต

Get Started

Install the plugin, enable a preset, and start enforcing type-safe ts-extras and type-fest patterns.

Open section โ†’

๎š

Presets

Choose the right preset for your team, from minimal baseline to full strict coverage.

Open section โ†’

๏€ญ

Rule Reference

Browse every rule with concrete incorrect/correct examples and migration guidance.

Open section โ†’