Skip to content

update lint Commands

Run linters on modules based on their capabilities. The lint system automatically selects the appropriate linter for each module type.

Commands in this Category

Command Purpose
update lint Run linters on one or more modules
update lint (Go) Go linting with golangci-lint
update lint (Markdown) Markdown linting with markdownlint-cli2

Linter Selection

Linters are selected based on module capabilities defined in module-types.yml:

Capability Linter Module Types
go golangci-lint go, cli, library
markdown markdownlint-cli2 static, docs

Quick Examples

# Lint a single module
r2r eac update lint eac-commands

# Lint all modules
r2r eac update lint

# Lint with auto-fix
r2r eac update lint --fix

# Lint without TUI (CI mode)
r2r eac update lint --no-tui

Output Structure

out/lint/<module>/
├── lint.log              # Human-readable output
├── lint.json             # Structured results (success/failure)
└── lint.manifest.json    # Execution metadata

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.