Skip to content

star checks YAML and JSON files against their schemas #1194

Open

Description

@David-Noble-at-work

Area

Product

What

#340, star's unified quality gate, asked that star check YAML and JSON files against their schemas. Read on develop on 2026-11-06, star has no such command. Its lint extensions under cmd/star/extensions/ are LintAll, LintCopyright, LintGo, LintGoStyle, LintMarkdown, LintShell, LintStarlark and LintTools, and none of them checks YAML or JSON against a schema. #838 covers one case, packages-manifest.yaml.

This task adds the check to star's lint commands, so that star checks a repository's YAML and JSON files against their schemas and star lint all runs it.

Split from #340 on 2026-11-06, on the owner's word: it is the one part of #340's plan not yet done. #340 was closed in error that day and reopened, since 11 of its sub-issues are still open, and this task moved under it from #837.

Evidence of completion

Before this issue closes, a comment on it shows the command refusing a YAML or JSON file that breaks its schema, and star lint all running it.

Plan and design documents

Kind Document
Plan Not yet opened
Design: star extensions docs/architecture/9-star-extensions.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions