anyhunter
v0.1.6
Published
Interactive validation runner for JS/TS monorepos
Downloads
533
Readme
AnyHunter CLI
Interactive validation runner for JS/TS projects and monorepos. The CLI scans
your repo, lets you pick a folder, and runs checks like lint, typecheck, and an
explicit any scan.
Install (local dev dependency)
npm install -D anyhunterUsage
anyhunterOptions:
-d, --dir <path>: run in a specific folder-y, --yes: skip prompts and run defaults-v, --version: show version
What it runs
The CLI detects package.json scripts first:
linttypecheckformat:checkorformattest
If no script exists and config files are present, it falls back to:
eslint .when an ESLint config is foundtsc --noEmitwhen a tsconfig is found
It also runs an "any scan" that looks for explicit any usage in TS files.
Ignore patterns
Create .anyhunterignore in the repo root or in a target folder to skip paths:
dist
coverage
apps/web/.nextHusky idea (optional)
Use Husky for commit-time checks and AnyHunter for heavier validation:
// .husky/pre-commit
npx lint-staged
// manual
anyhunter