lint
The rs lint command uses Rslint to lint source code.
Usage
The command loads the lint configuration registered with define.lint().
Options
rs lint supports the same command-line options as Rslint. See the Rslint CLI documentation for details.
Examples:
Configuration
Configure linting through define.lint() in the Rstack configuration file. It accepts the standard Rslint configuration. A configuration function receives all exports from rstack/lint, so presets and plugins do not need to be imported manually:
rstack.config.ts