Thank you for your interest in contributing to Rslint! Before you start your contribution, please take a moment to read the following guidelines.
Build the project:
# init typescript-go submodule
git submodule update --init --recursive
pnpm install
pnpm buildTest 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:checkAfter building, you can test the rslint CLI:
# Test the binary
./packages/rslint/bin/rslint --help
# Lint the project itself
./packages/rslint/bin/rslint --config rslint.jsonTo 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