Skip to content

build: git-hooks - Add CSS validation #395

Open

Description

@ashleyshaw

Build Summary

Validate source CSS against the existing repository CSS architecture. Do not introduce Sass or @wordpress/scripts; retain Vite production asset processing.

Acceptance Criteria

  • Appropriate CSS linter selected/configured.
  • Rules align with guidelines/css-architecture.md.
  • Relevant source CSS changes trigger pre-commit checks.
  • Generated output not treated as hand-authored source.
  • Actionable failures; read-only validation.

Definition of Ready

  • Scope, fixtures, prerequisites and overlap identified.

Definition of Done

  • Criteria pass; commands, revision, environment and exit codes recorded.
  • Documentation reflects tested behaviour; applicable review/checks pass.

Branch instructions

Recheck repository instructions, active work and PR template before implementation; independently reviewable branch from develop, no automatic merged-branch reuse. Preserve unrelated changes; no force-push, merge or deployment. Estimate unset; no dates/milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions