VSCode Extension
Install the official extension from the VS Code Marketplace. It provides:
- Real-time diagnostics as you type
- Code actions for auto-fixable rules
- Auto-fix on save via
source.fixAll.rslint - Multi-workspace support
The extension works out of the box — it uses the built-in rslint binary and automatically picks up your rslint.config.ts.
The unified Rstack extension (rstack.rstack) brings Rslint, Rstest, and formatting together in one install and is where new editor features land. This standalone rstack.rslint extension will be deprecated in the future, so we recommend that existing users migrate now and that new setups use rstack.rstack.
To switch, install rstack.rstack from the VS Code Marketplace or, for Cursor, Trae, and VSCodium, from Open VSX. Disable or uninstall rstack.rslint so only one copy of Rslint runs, then re-enter settings under rstack.rslint.* as described in the migration notes.
Auto-fix on Save
To automatically fix lint issues when you save a file, add the following to your VS Code settings (.vscode/settings.json):