check
The rs check command combines linting, formatting, and optional TypeScript type checking for the current project. By default, it runs rs lint followed by rs fmt --check.
Usage
Checks
Running rs check is equivalent to:
Checks run sequentially. If linting fails, rs check stops without running the formatting check. The command exits successfully only when every enabled check passes.
Options
--type-check
Enable TypeScript type checking as part of linting:
This is equivalent to:
Type checking is disabled when this option is omitted.
-h, --help
Display usage and option information without running checks:
Configuration
rs check has no separate define.check() configuration. It uses the linting configuration from define.lint() and the formatting configuration from define.fmt().