Bash lint (structured)
bash_lintRun shellcheck on shell scripts and return structured diagnostics with file, line, column, message, and SC rule code. Filter results by minimum severity to focus on errors, warnings, or info.
Instructions
Run shellcheck and return structured diagnostics with file, line, column, message, and SC rule code. Much more compact than raw shellcheck output. Use minSeverity to filter by severity level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Required. Shell script path(s) to lint; a string or array | |
| 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 | ||
| warningCount | Yes |