stagelint icon
stagelint icon

stagelint

 Like

stagelint runs linters, formatters and other commands on the files you are about to commit, and stages whatever they fix. It is a single binary written in Rust with no runtime dependency, so the same tool works in Node, Python, Go, Rust, .NET or a polyglot monorepo.

Cost / License

  • Free
  • Open Source (MIT)

Since

  • New

Updated

  • Updated Nov 2026

Platforms

  • Windows
  • Mac
  • Linux
0likes
0articles
Save

Features

Features

Highlights All activities

stagelint News & Activities

Recent activities

stagelint information

AlternativeTo Category

Development

GitHub repository

  •  41 Stars
  •  30 Forks
  •  13 Open Issues
  •   Updated  
View on GitHub
stagelint was added to AlternativeTo by AdamBQ on and this page was last updated .

No comments or reviews, maybe you want to be first?

Official Links

Install from the command line

  • winget install -e --id abemedia.stagelint

Be careful what you paste into a terminal. Check what a command installs before running it.

What is stagelint?

stagelint runs linters, formatters and other commands on the files you are about to commit, and stages whatever they fix. It is a single binary written in Rust with no runtime dependency, so the same tool works in Node, Python, Go, Rust, .NET or a polyglot monorepo.

Partially staged files are handled safely. stagelint stashes the unstaged changes, runs the commands, then three-way merges the result back, so a formatter rewriting a file never aborts the commit or sweeps unstaged edits into it.

Configuration is one file mapping glob patterns to commands. Independent patterns run in parallel and overlapping ones in order. Config files can live at any level of a monorepo, and commands resolve to the project's locally installed tools without npx or similar wrappers.

It installs its own pre-commit hook or runs from an existing hook manager. The same configuration also runs as a coding agent hook for Claude Code, Codex, Cursor and others, and in CI through a GitHub Action.