Skip to content

Rules Overview ​

Vue Doctor runs 10 custom rules in addition to oxlint, eslint-plugin-vue, and knip. These catch Vue-specific anti-patterns that general linters miss.

Categories ​

CategoryRulesSeverity
Reactivity3 ruleserror / warning
Performance2 ruleswarning
Nuxt2 ruleserror / warning
Pinia2 ruleswarning
Architecture1 rulewarning

All Rules ​

RuleSeverityCategory
reactivity-destructure-propserrorReactivity
reactivity-reactive-reassignerrorReactivity
reactivity-ref-no-valuewarningReactivity
perf-giant-componentwarningPerformance
perf-v-for-method-callwarningPerformance
nuxt-fetch-in-mountederrorNuxt
nuxt-no-navigate-to-in-setupwarningNuxt
pinia-no-store-to-refswarningPinia
pinia-direct-state-mutationwarningPinia
arch-mixed-api-styleswarningArchitecture

Ignoring Rules ​

Add rule IDs to .vue-doctorrc:

json
{
  "ignore": {
    "rules": ["vue-doctor/perf-giant-component"]
  }
}

Released under the MIT License.