Skip to content

Glossary

Key concepts used throughout the documentation.

Table of contents

Design tokens

Named values such as colours, spacing, or typography that describe your design system. design-lint uses the Design Token Interchange Format (DTIF) for all token files, validating documents with the canonical parser and schema.

Rule

A check that validates code against the design system. Rules may be built-in or provided by plugins.

Formatter

Transforms lint results into a human- or machine-readable report.

Plugin

An npm package that bundles rules, formatters, or other extensions.

Linter

The engine that orchestrates parsing, rule execution, and formatting.

Severity

Indicates the importance of a rule violation: off, warn, or error.

See also

Released under the MIT License.