rubocop_lint

Runs RuboCop for declared Ruby sources and exposes normalized lint findings.

toml
[[target]] name = "lint" kind = "rubocop_lint" srcs = ["lib/**/*.rb"]

Optional attributes are rubocop, ruby, config, data, and args. The target emits struo_lint_info and exposes the lint capability. Struo prepares both RuboCop and Ruby because the portable report adapter runs with Ruby after RuboCop writes its native result.

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