A global or project-level CLI tool that automatically runs ESLint and Prettier linting on staged files before Git commits. Version 1.0.12 is current but appears infrequently updated. It simplifies setup by providing a single 'auto-lint' command, wrapping common ESLint (including @typescript-eslint parser/plugin) and Prettier configurations. It aims to replace manual husky/lint-staged setups but offers limited customization and documentation.
npm install auto-git-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the tool globally or as a dev dependency, then runs 'auto-lint' in a project to lint staged files.
Ensure you have staged changes before running 'auto-lint'.
Use project-local installation and manage dependencies manually.
Consider alternatives like husky + lint-staged or lefthook.
Install globally: npm install -g auto-git-lint. Or use npx: npx auto-lint.
Uninstall global auto-git-lint and install locally. Manually set up ESLint and Prettier.
Stage files: git add <file> or git add -A; then run auto-lint.
No dependency data recorded yet.