post_lint_javascript
JavaScript / Node lint: POST {code}, get the bugs back with line numbers. Syntax errors come from the real V8 parser (compile-only — code is never executed), plus deterministic checks: loose == coercion, assignment in conditions, comparisons with NaN, const reassignment (runtime TypeError), var pitfalls, unused variables, leftover console.log. Handles ESM imports, template literals, regex. No AI. Max 128 KB. ($0.002 per call, paid via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript/Node source to lint, max 128 KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | No | ||
| issues | No | ||
| syntax | No | ||
| verdict | No | ||
| language | No |