Skip to content

[Issue]: Add YAML linting to validation workflow #232

@WilliamBerryiii

Description

@WilliamBerryiii

Issue Description

The repository has linting for Markdown, PowerShell, links, and frontmatter, but no YAML validation. Adding YAML linting would catch syntax errors in workflow files and configuration before they reach CI.

Current Linting Target Files
Markdown-Link-Check **/*.md
PSScriptAnalyzer **/*.ps1
Link-Lang-Check **/*.md
Frontmatter Validation **/*.md
YAML (missing) .github/workflows/*.yml, *.yml

Acceptance Criteria:

  • Add YAML linting script following existing patterns in scripts/linting/
  • Add lint:yaml npm script to package.json
  • Integrate into lint:all script
  • Add to PR validation workflow
  • Document in scripts/linting/README.md

Additional Context

Implementation options include:

  • yamllint (Python) - most comprehensive, configurable via .yamllint.yml
  • yaml-lint (Node.js) - aligns with existing npm tooling
  • actionlint - specialized for GitHub Actions workflow validation

The existing lint scripts in scripts/linting/ provide patterns for parameter handling, output formatting, and exit codes.

Metadata

Metadata

Labels

needs-triageRequires triage and prioritization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions