Skip to content

The best ESLint alternatives

5 tools that do a similar job to ESLint, 5 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

ESLint

A JavaScript linter that finds and reports problematic code patterns, with rules you can configure.

  1. 1

    typescript-eslint

    Open source · MIT · ★ 16.5k

    Tools that let ESLint check TypeScript code, as a monorepo of packages.

    Best for: JavaScript and TypeScript developers who already use ESLint; Teams that want consistent code checks across a TypeScript codebase

  2. 2

    Prettier

    Open source · MIT · ★ 52.4k

    An opinionated code formatter that rewrites your code in one consistent style.

    Best for: Teams that want one shared code style without writing their own rules; Developers who want formatting handled automatically on save

  3. 3

    standard

    Open source · MIT · ★ 29.4k

    A JavaScript style guide with a linter and auto-fixer that needs no config files.

    Best for: JavaScript projects where the team wants consistent style without debating rules; Node.js developers who want a quick, zero-config check in their package.json test script

  4. 4

    lint-staged

    Open source · MIT · ★ 14.8k

    Runs formatters and linters only on the git files you are about to commit.

    Best for: JavaScript or Node.js projects that already use tools like ESLint or Prettier; Teams that want consistent code style enforced at commit time

  5. 5

    RuboCop

    Open source · MIT · ★ 12.9k

    A Ruby linter and auto-formatter that checks code against the community Ruby style guide.

    Best for: Ruby developers who want consistent style across a project; Teams that want an automated check on code style during development

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to ESLint. We don't take payment for placement.