eslint_lint

Runs ESLint for declared JavaScript and TypeScript sources and exposes normalized lint findings.

toml
[[target]] name = "lint" kind = "eslint_lint" srcs = ["src/**/*.ts"]

Optional attributes are eslint, node, config, data, and args. Struo prefers the package-local node_modules/.bin/eslint executable when present. The target emits struo_lint_info and exposes the lint capability.

Use struo query schema eslint_lint for the complete contract and struo query example eslint_lint eslint-lint-minimal for the starter files. The Linting guide covers materialization, execution, failure policy, normalized findings, and cache verification.