-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Labels
needs-triageRequires triage and prioritizationRequires triage and prioritization
Description
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:yamlnpm script topackage.json - Integrate into
lint:allscript - 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-triageRequires triage and prioritizationRequires triage and prioritization