Rslint contribution guide
July 4, 2026 ยท View on GitHub
Thank you for your interest in contributing to Rslint! Before you start your contribution, please take a moment to read the following guidelines.
Setup the environment
Build locally
Build the project:
# init typescript-go submodule
git submodule update --init --recursive
pnpm install
pnpm build
Test the setup:
# Run all tests
pnpm test
# Run Go tests only
pnpm run test:go
# Run linting
pnpm run lint
# Run type checking
pnpm run typecheck
# Check code formatting
pnpm run format:check
Test the CLI
After building, you can test the rslint CLI:
# Test the binary
./packages/rslint/bin/rslint.js --help
# Lint the project itself
./packages/rslint/bin/rslint.js
Debugging VSCode Extension
To Debug the VSCode Extension:
- Setup launch configuration
cp .vscode/launch.template.json .vscode/launch.json
- Start debugging
- Open the Command Palette (
Cmd+Shift+P) - Run
Debug: Start Debuggingor pressF5 - Alternatively, go to the
Run and Debugsidebar and selectRun Extension