lint-staged.sh

JSON →
library 0.6.9 ·javascript
verified Jun 4, 2026

A minimal shell script to run linters/formatters against files staged in Git. Version 0.6.9 is the latest stable release, with no scheduled cadence. Unlike the npm lint-staged package, this script has no dependencies, no configuration file, and no automatic backup or reset on failure. It simply evaluates a command with the list of staged files filtered by glob patterns. Designed for users who want a lightweight, transparent alternative to lint-staged. No runtime, no Node.js required; works in any Bourne-compatible shell.