Skip to main content

check

Run static code analysis, available checks: fmt, lint, type, test, git

Usage​

$ dinghy check [CHECK] [options]

Arguments​

NameDescription
checkThe checks to run

Options​

NameDescriptionDefault
--fmtCmd=<value>The command to run for fmt checkdeno fmt
--lintCmd=<value>The command to run for lint checkdeno lint
--typeCmd=<value>The command to run for type checkdeno check
--testCmd=<value>The command to run for deno test if __tests__ folder existsdeno test --no-check
--gitCmd=<value>The command to run for git diff check if current directory is in a git repogit diff
[--checks=<value>]The checks to runfmt,lint,type,test,git