Skip to content

Opinionated CLI tool for running checks (TS, ESLint, Prettier, and more) in a single command.

License

Notifications You must be signed in to change notification settings

aklinker1/check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check

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 eslint prettier publint

Contributing

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

Adding Tools

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.

About

Opinionated CLI tool for running checks (TS, ESLint, Prettier, and more) in a single command.

Resources

License

Stars

Watchers

Forks