eslint_diagnostics
eslint_diagnosticsRun local ESLint on selected files, output JSON diagnostics, and persist findings with run status.
Instructions
Explicit Reef ingestion tool for ESLint diagnostics: run the project's local ESLint executable on the requested project-relative files with JSON output, persist working-tree ProjectFinding rows under source eslint, and record unavailable/error/succeeded run status. File-mode only; does not run broad project lint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| files | Yes | ||
| scriptName | No | ||
| maxFindings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| projectRoot | Yes | ||
| status | Yes | ||
| durationMs | Yes | ||
| requestedFiles | Yes | ||
| checkedFileCount | Yes | ||
| command | No | ||
| exitCode | No | ||
| findings | Yes | ||
| totalFindings | Yes | ||
| persistedFindings | Yes | ||
| truncated | Yes | ||
| warnings | Yes | ||
| errorText | No | ||
| _hints | Yes |