Skip to content

Tooling: shippable Stylelint plugin/config for consumers #363

Description

@jackgranatowski

Type: author-time tooling · Tier: v1.0

Summary

Publish a consumer-facing Stylelint plugin/config that lints projects using SLASHED — correct @layer usage, reserved-name (sf-/is-) collisions, and raw values that should be tokens.

Why

Teams adopting SLASHED have no guardrails today. A shareable config catches cascade-layer mistakes and off-token values before they ship.

Verified state (2026-06-20)

stylelint is in package.json only to lint SLASHED's own CSS (lint:css). No consumer-facing package/config is published.

Constraints

Separate publishable package; no runtime cost to sites.

Acceptance criteria

  • Package with rules: layer-order, reserved-name guard, prefer-token-over-raw-value
  • Consumes the published token manifest for the token list
  • Documented install + recommended config
  • Tests for each rule

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions