Skip to content

Opinionated CLI tool for running checks (TS, Oxlint, 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

57 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 oxlint prettier publint eslint markdownlint-cli

Contributing

This project is built using bun. Demo project uses PNPM.

# Setup
bun i

# Build NPM package
bun run build

# Run checks
bun check --help
bun check

# Debug commands used
DEBUG=1 bun check

Adding Tools

  1. Copy and rename src/tools/prettier.ts and src/tools/prettier.test.ts accordingly
  2. Implement and update tests for your new tool
  3. Add your tool to the ALL_TOOLS array in src/tools/index.ts
  4. Add the tool's NPM package to the first section of this README

About

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

Resources

License

Stars

Watchers

Forks