Skip to content

aklinker1/check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@aklinker1/check

NPM Version Install Size

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 @typescript/native-preview cspell

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

Contributors