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. Presets and plugins can be imported from rstack/lint on demand:
rstack.config.ts