Skip to content

Rule Reference

Rules enforce your design system. This reference targets developers configuring rule behaviour or writing custom rules.

Table of contents

Token Validation

Validate usage of design tokens in code and style sheets.

Component Usage

Ensure components follow naming and usage conventions.

Styling

Rules that govern styles inside components.

Misc

Additional checks for maintainability.

Adding or deprecating rules

To propose a new rule or retire an existing one, open an issue or pull request following the guidelines in CONTRIBUTING.md. Include rationale, examples, and implementation notes. Deprecated rules should remain in the documentation until removed in a major release.

See also

Released under the MIT License.