Lint (structured)
npm_lintRun Biome lint checks and return compact structured diagnostics with file, line, column, message, and rule; filter results by minimum severity.
Instructions
Run biome check and return structured diagnostics with file, line, column, message, and rule. Far more compact and parseable than raw lint output. Use minSeverity to filter by severity level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Required. Project root directory | |
| fix | No | Auto-fix safe issues (default: false) | |
| paths | No | Specific path(s) to lint; a string or array (default: '.') | |
| maxItems | No | Item cap; overrides detailLevel | |
| detailLevel | No | Item preset: summary 20, normal 100, full (default; also skips the response budget) | |
| minSeverity | No | Minimum severity to include (e.g. 'error' drops warnings and info) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| errors | Yes | ||
| retained | No | ||
| truncated | No | ||
| errorCount | Yes | ||
| fixedCount | Yes | ||
| warningCount | Yes |