Skip to content

feat: add README validator configuration and update requirements#48

Merged
JacobPEvans-personal merged 6 commits into
mainfrom
feat/readme-requirements-validator
Jun 24, 2026
Merged

feat: add README validator configuration and update requirements#48
JacobPEvans-personal merged 6 commits into
mainfrom
feat/readme-requirements-validator

Conversation

@JacobPEvans-personal

@JacobPEvans-personal JacobPEvans-personal commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

Adds the canonical README validator configuration (.readme-validator.yaml) to the organization-wide .github repository, making the "Requirements" section required across all repositories. Updates this repository's root README.md and precommit/README.md to define and satisfy the new "Requirements" section.

Changes

  • Validator Configuration: Added configs/.readme-validator.yaml and root .readme-validator.yaml with a required Requirements section and additional References and Layout optional sections.
  • Root README: Added a Requirements section listing the tofu-github repository configuration dependency and optional Nix/direnv setup, plus added a valid JSON block for installation references.
  • Pre-commit README: Added a Requirements section specifying git, runtime tool dependencies (Node, Python, Terraform), and optional Nix/direnv setup.

Test Plan

  • Local validation ran successfully: npx markdownlint-cli2 "**/*.md" and npx @biomejs/biome check . both report 0 errors.
  • Verification checks on GitHub Actions passed successfully.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces README validator configurations (.readme-validator.yaml) at the root and in the configs/ directory, updates the root and pre-commit READMEs with detailed requirements, and reformats several JSON configuration files (release-please-config.json, renovate-grouping.json, and renovate-presets.json) into a more compact, single-line array format. The review feedback highlights a syntax issue in the README.md where a JavaScript-style comment is used inside a JSON code block, and suggests adding References and Layout to the optional_sections in the README validator configurations to prevent validation failures on the repository's own documentation.

Comment thread README.md Outdated
Comment thread .readme-validator.yaml
Comment thread configs/.readme-validator.yaml
…renovate-presets.json conflicts with Biome formatting
… update renovate.json to manage biome version
Biome 2.4+ changed the `expand` default so `auto` collapses primitive arrays
that fit within lineWidth — turning readable one-item-per-line Renovate config
into dense single-line arrays. Pin `json.formatter.expand: "always"` in the
canonical config to restore the expanded, greppable, clean-diff style, and
reformat all JSON so the committed files match.

Assisted-by: Claude:claude-opus-4-8
Claude-Session: https://claude.ai/code/session_019fUUJwmbqHgziAmyPxZEDb
@JacobPEvans-personal JacobPEvans-personal merged commit 8418951 into main Jun 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant