Skip to content

Releases: UnityInFlow/spec-linter

v0.0.1

01 Apr 10:43

Choose a tag to compare

Initial release of @unityinflow/spec-linter

What's included

  • 5 lint rules: S001 (required-sections), S003 (no-secrets), S004 (file-size), S005 (no-wildcard-permissions), S006 (no-duplicate-headers)
  • CLI: spec-linter check <path> with --format json and --quiet flags
  • Exit codes: 0 (pass), 1 (errors), 2 (warnings only)
  • CI on self-hosted runners (Hetzner x64 + OrangePi ARM64)

Install

npx @unityinflow/spec-linter check CLAUDE.md

What it catches

  • Missing required sections (Project Overview, Constraints, Acceptance Criteria)
  • Accidentally committed API keys and tokens
  • Wildcard tool permissions (Bash(*:*))
  • Oversized spec files (>30kb warn, >50kb error)
  • Duplicate section headings