fastlint is a command-line tool (v1.1.0) that speeds up linting by running linters only on files changed in git — either in the working copy, staged, or compared to branches like master. It avoids running on unchanged files, integrating with eslint and other tools via piped filenames. Key features: --staged filter, --diff-filter (A/C/D/M/R/etc.), --glob filtering, and multiple path output modes. Stable, low maintenance, single-purpose tool. Alternatives include lint-staged and husky, but fastlint is more flexible for branch comparison.
npm install fastlintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs fastlint, creates a git repo, makes a change, then lints only changed files with eslint.
Use correct letter: Q for untracked, D for deleted.
Always specify two branches or use --working-copy explicitly.
Use 'origin/main' or 'master' if local branch exists.
Use correct form: fastlint <since> <until>, e.g. 'HEAD~5 HEAD'.
Place --print0 at end of options before xargs.
No dependency data recorded yet.