Vize

Musea rules

Musea .art.vue stories, variants and design-token usage.

Each rule page shows a failing example, a passing example, and the configuration that turns the rule on.

Opt-in (6)

Not in any preset. Turn them on by name in the linter.rules passed to withVue.

Rule What it checks Auto-fix
musea/no-empty-variant Disallow empty <variant> blocks.
musea/prefer-design-tokens Prefer design token CSS variables over hardcoded primitive values.
musea/require-component Require component attribute in <art> block.
musea/require-title Require title attribute in <art> block.
musea/unique-variant-names Require unique variant names.
musea/valid-variant Require name attribute in <variant> blocks.

Rules overview · Rule options · Migrating from ESLint