Vize

petite-vue rules

Directives and scopes in HTML pages that use petite-vue.

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

Opt-in (3)

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

Rule What it checks Auto-fix
petite-vue/no-unsupported-directive Disallow directives that petite-vue does not support.
petite-vue/valid-v-effect Require v-effect to have a non-empty expression.
petite-vue/valid-v-scope Require v-scope to bind an object literal.

Rules overview · Rule options · Migrating from ESLint