An opinionated CLI tool to run all your checks all at once. The command will only exit with code 0 when no problems exist.
demo.mp4
pnpm i @aklinker1/check
pnpm check
pnpm check --fix
To enable checks for any of the following modules, just install them:
pnpm i -D typescript oxlint prettier publint eslint
This project is built using bun
. Demo project uses PNPM.
# Setup
bun i
pushd demo
pnpm i
popd
# Build NPM package
bun run build
# Run checks
bun check --help
bun check
bun check demo
I've added everything I use, so if you want to add support for another tool, feel free.
Just copy src/tools/prettier.ts
and src/tools/prettier.test.ts
, update the implementations (yes, tests are required), and add your new tool to src/tools/index.ts
's ALL_TOOLS
export.