Top Linter repositories

Repositories with the GitHub topic “linter”: 32 repositories with 504k stars between them, mostly written in Rust, Go and Python. The highest-rated is astral-sh/ruff, #542 on the bestofgithub Elo ladder.

Biggest movers this week

kucherenko/jscpd

Open on GitHubRust

Copy/paste detector for source code. 220+ languages, Rust engine, SARIF/HTML/badge reporters, GitHub Action, MCP server for AI agents.

  • 1,474+8 Elo, change today
  • 6.5k stars
  • 276 forks
git
git clone https://github.com/kucherenko/jscpd.git
  • ai
  • cli
  • clones-detection
  • code-duplication

vale-cli/vale

Open on GitHubGo

:pencil: A markup-aware linter for prose built with speed and extensibility in mind.

  • 1,459+3 Elo, change today
  • 6.3k stars
  • 241 forks
git
git clone https://github.com/vale-cli/vale.git
  • linter
  • linting
  • vale

detekt/detekt

Open on GitHubKotlin

Static code analysis for Kotlin

  • 1,409−2 Elo, change today
  • 7.1k stars
  • 887 forks
git
git clone https://github.com/detekt/detekt.git
  • analysis
  • code-quality
  • codesmells
  • gradle-plugin

webpro-nl/knip

Open on GitHubTypeScript

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

  • 1,626−5 Elo, change today
  • 12.6k stars
  • 554 forks
git
git clone https://github.com/webpro-nl/knip.git
  • deadcode
  • dependency-analysis
  • dependency-management
  • javascript

hadolint/hadolint

Open on GitHubHaskell

Dockerfile linter, validate inline bash, written in Haskell

  • 1,501+3 Elo, change today
  • 12.5k stars
  • 514 forks
git
git clone https://github.com/hadolint/hadolint.git
  • docker
  • dockerfile
  • dockerfile-linter
  • haskell

ast-grep/ast-grep

Open on GitHubRust

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

  • 1,714+4 Elo, change today
  • 16.5k stars
  • 503 forks
  • 41 watchers
brew
brew install ast-grep
  • ast
  • babel
  • codemod
  • codereview

Top 32 on the Elo ladder

  1. #542
    astral-sh/ruff

    An extremely fast Python linter and code formatter, written in Rust.

    1,960 Elo −6051.2kRust
  2. #1,336
    oxc-project/oxc

    ⚓ A collection of high-performance JavaScript tools.

    1,807 Elo 23.4kRust
  3. #1,480
    koalaman/shellcheck

    ShellCheck, a static analysis tool for shell scripts

    1,787 Elo +240.3kHaskell
  4. #1,684
    biomejs/biome

    A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter…

    1,763 Elo +2526.1kRust
  5. #2,121
    ast-grep/ast-grep

    ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

    1,714 Elo +3016.5kRust
  6. #2,367
    eslint/eslint

    Find and fix problems in your JavaScript code.

    1,689 Elo −3127.6kJavaScript
  7. #2,911
    python/mypy

    Optional static typing for Python

    1,644 Elo −1720.7kPython
  8. #3,058
    golangci/golangci-lint

    Fast linters runner for Go

    1,632 Elo −1419.5kGo
  9. #3,163
    webpro-nl/knip

    ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

    1,626 Elo +3512.6kTypeScript
  10. #3,435
    analysis-tools-dev/static-analysis

    ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools…

    1,609 Elo +2214.9kRust
  11. #3,579
    realm/SwiftLint

    A tool to enforce Swift style and conventions.

    1,600 Elo −1219.7kSwift
  12. #3,599
    standard/standard

    🌟 JavaScript Style Guide, with linter & automatic code fixer

    1,599 Elo −6029.4kJavaScript
  13. #4,469
    pre-commit/pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    1,547 Elo −1415.6kPython
  14. #4,605
    rubocop/rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

    1,539 Elo −3112.9kRuby
  15. #5,342
    rome/tools

    Unified developer tools for JavaScript, TypeScript, and the web

    1,504 Elo −3123.3kRust
  16. #5,401
    hadolint/hadolint

    Dockerfile linter, validate inline bash, written in Haskell

    1,501 Elo +3112.5kHaskell
  17. #5,671
    dense-analysis/ale

    Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support

    1,489 Elo −3614kVim Script
  18. #5,820
    super-linter/super-linter

    Combination of multiple linters to run as a GitHub Action or standalone

    1,482 Elo −110.6kShell
  19. #5,827
    stylelint/stylelint

    A mighty CSS linter that helps you avoid errors and enforce conventions.

    1,481 Elo +911.5kJavaScript
  20. #5,863
    PyCQA/bandit

    Bandit is a tool designed to find common security issues in Python code.

    1,480 Elo +268.3kPython
  21. #5,986
    kucherenko/jscpd

    Copy/paste detector for source code. 220+ languages, Rust engine, SARIF/HTML/badge reporters, GitHub Action, MCP server…

    1,474 Elo +736.5kRust
  22. #6,220
    reviewdog/reviewdog

    🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

    1,464 Elo +269.7kGo
  23. #6,328
    vale-cli/vale

    :pencil: A markup-aware linter for prose built with speed and extensibility in mind.

    1,459 Elo +656.3kGo
  24. #6,674
    lint-staged/lint-staged

    🚫💩 — Run tasks like formatters and linters against files staged in Git

    1,445 Elo −814.7kJavaScript
  25. #7,650
    detekt/detekt

    Static code analysis for Kotlin

    1,409 Elo +377.1kKotlin
  26. #8,586
    Allar/ue5-style-guide

    An attempt to make Unreal Engine 4 projects more consistent

    1,371 Elo −36.3k
  27. #8,649
    pre-commit/pre-commit-hooks

    Some out-of-the-box hooks for pre-commit

    1,368 Elo +56.7kPython
  28. #8,859
    ktlint/ktlint

    An anti-bikeshedding Kotlin linter with built-in formatter

    1,358 Elo +86.7kKotlin
  29. #8,934
    PyCQA/isort

    A Python utility / library to sort imports.

    1,354 Elo +96.9kPython
  30. #8,951
    dominikh/go-tools

    Staticcheck - The advanced Go linter

    1,353 Elo −46.9kGo
  31. #9,127
    aquasecurity/tfsec

    Tfsec is now part of Trivy

    1,343 Elo +67kGo
  32. #9,441
    xojs/xo

    ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults

    1,323 Elo +27.9kTypeScript