Skip to content

check

Terminal window
sloptor check [FLAGS] [PATH]

Typecheck the project (native, full strictness).

Argument Description
[PATH] Project directory containing tsconfig.json (default: .)
Flag Description Aliases
-w, --watch / --no-watch Re-check whenever an input changes
--json / --no-json Print one machine-readable result object instead of styled output (NDJSON with --watch)
--checkers <N> Checkers per project (default: 4)
Flag Description Aliases
-v, -V, --version Print sloptor's version
--color <WHEN> When to use colour [auto, always, never] (default: auto)
-h, --help Print help (see more with '--help')
Terminal window
sloptor check # typecheck ./tsconfig.json
sloptor check packages/core --json # one machine-readable result object
sloptor check --checkers 8