SonarLint: scan folder
sonarlint_scan_folderScans every analyzable file in a folder with local SonarLint analysis, skips build and dependency directories, and returns issues grouped by file.
Instructions
Run a local SonarLint analysis on every analyzable file under a folder (skips node_modules, build dirs, .git, etc.). Returns issues grouped by file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sonarlint_scan_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Folder to scan (default: current workspace root) | |
| maxFiles | No | Maximum number of files to scan (default 400) |