check
Run static code analysis, available checks: fmt, lint, type, test, git
Usageâ
$ dinghy check [CHECK] [options]
Argumentsâ
| Name | Description |
|---|---|
check | The checks to run |
Optionsâ
| Name | Description | Default |
|---|---|---|
--fmtCmd=<value> | The command to run for fmt check | deno fmt |
--lintCmd=<value> | The command to run for lint check | deno lint |
--typeCmd=<value> | The command to run for type check | deno check |
--testCmd=<value> | The command to run for deno test if __tests__ folder exists | deno test --no-check |
--gitCmd=<value> | The command to run for git diff check if current directory is in a git repo | git diff |
[--checks=<value>] | The checks to run | fmt,lint,type,test,git |