by Vue · eslint-plugin-vue
Essential, strongly recommended and recommended rules for Vue 3 single-file components.
npm install -D eslint eslint-plugin-vue// eslint.config.js
import vue from "eslint-plugin-vue";
export default [
...vue.configs["flat/recommended"],
];| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| vue/no-arrow-functions-in-watch In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-async-in-computed-properties In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-computed-properties-in-data In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-data-object-declaration In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-delete-set In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-destroyed-lifecycle In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-events-api In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-model-definition In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-props-default-this In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-vue-config-keycodes In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-export-in-script-setup In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-expose-after-await In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-lifecycle-after-await In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-reserved-keys In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-reserved-props In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-side-effects-in-computed-properties In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-watch-after-await In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/prefer-import-from-vue In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/require-prop-type-constructor In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/require-render-return In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/require-slots-as-functions In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/return-in-computed-property In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/return-in-emits-validator In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/valid-define-emits In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/valid-define-options In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/valid-define-props In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/valid-next-tick In ESLint, Oxlint, Biome42.4M reach · +88.4% | error | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-child-content In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-dollar-listeners-api In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-dollar-scopedslots-api In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-filter In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-functional-template In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-html-element-is In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-inline-template In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-router-link-tag-prop In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-scope-attribute In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-slot-attribute In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-slot-scope-attribute In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-v-bind-sync In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-v-is In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-v-on-native-modifier In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-deprecated-v-on-number-modifiers In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-dupe-v-else-if In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-duplicate-attributes In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-mutating-props In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-ref-as-operand In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-template-key In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-textarea-mustache In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-use-computed-property-like-method In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-use-v-if-with-v-for In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-useless-template-attributes In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-v-for-template-key-on-child In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-v-text-v-html-on-component In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/require-component-is In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/require-toggle-inside-transition In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/require-v-for-key In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/require-valid-default-prop In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/use-v-on-exact In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-attribute-name In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-template-root In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-bind In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-cloak In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-else In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-else-if In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-for In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-html In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-if In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-is In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-memo In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-model In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-on In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-once In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-pre In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-show In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-slot In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/valid-v-text In ESLint, Biome42.4M reach · +88.4% | error | In ESLint, Biome | 42.4M | +88.4% |
| vue/prop-name-casing In ESLint, Oxlint, Biome42.4M reach · +88.4% | warn | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/attribute-hyphenation In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-template-shadow In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/one-component-per-file In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/require-explicit-emits In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/v-bind-style In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/v-on-style In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/v-slot-style In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-multiple-slot-args In ESLint, Oxlint, Biome42.4M reach · +88.4% | warn | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/no-required-prop-with-default In ESLint, Oxlint, Biome42.4M reach · +88.4% | warn | In ESLint, Oxlint, Biome | 42.4M | +88.4% |
| vue/block-order In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-lone-template In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/this-in-template In ESLint, Biome42.4M reach · +88.4% | warn | In ESLint, Biome | 42.4M | +88.4% |
| vue/no-dupe-keys In ESLint, Oxlint, Biome41.6M reach · +89.3% | error | In ESLint, Oxlint, Biome | 41.6M | +89.3% |
| vue/require-default-prop In ESLint, Oxlint, Biome41.6M reach · +89.3% | warn | In ESLint, Oxlint, Biome | 41.6M | +89.3% |
| vue/require-prop-types In ESLint, Oxlint, Biome41.6M reach · +89.3% | warn | In ESLint, Oxlint, Biome | 41.6M | +89.3% |
| vue/no-v-html In ESLint, Biome41.6M reach · +89.3% | warn | In ESLint, Biome | 41.6M | +89.3% |
| vue/multi-word-component-names In ESLint, Biome40.1M reach · +90.0% | error | In ESLint, Biome | 40.1M | +90.0% |
| vue/no-shared-component-data In ESLint, Oxlint, Biome11.8M reach · +49.7% | error | In ESLint, Oxlint, Biome | 11.8M | +49.7% |
| vue/no-reserved-component-names In ESLint, Oxlint11.8M reach · +49.7% | error | In ESLint, Oxlint | 11.8M | +49.7% |
| vue/no-unused-vars In ESLint, Biome11.8M reach · +49.7% | error | In ESLint, Biome | 11.8M | +49.7% |
| vue/comment-directive In ESLint11.8M reach · +49.7% | error | In ESLint | 11.8M | +49.7% |
| vue/jsx-uses-vars In ESLint11.8M reach · +49.7% | error | In ESLint | 11.8M | +49.7% |
| vue/no-parsing-error In ESLint11.8M reach · +49.7% | error | In ESLint | 11.8M | +49.7% |
| vue/no-unused-components In ESLint11.8M reach · +49.7% | error | In ESLint | 11.8M | +49.7% |
| vue/component-definition-name-casing In ESLint, Oxlint11.8M reach · +49.7% | warn | In ESLint, Oxlint | 11.8M | +49.7% |
| vue/v-on-event-hyphenation In ESLint, Biome11.8M reach · +49.7% | warn | In ESLint, Biome | 11.8M | +49.7% |
| vue/first-attribute-linebreak In ESLint11.8M reach · +49.7% | warn | In ESLint | 11.8M | +49.7% |
| vue/html-end-tags In ESLint11.8M reach · +49.7% | warn | In ESLint | 11.8M | +49.7% |
| vue/html-self-closing In ESLint11.8M reach · +49.7% | warn | In ESLint | 11.8M | +49.7% |
| vue/attributes-order In ESLint11.8M reach · +49.7% | warn | In ESLint | 11.8M | +49.7% |
| vue/order-in-components In ESLint11.8M reach · +49.7% | warn | In ESLint | 11.8M | +49.7% |
| vue/html-closing-bracket-newline In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/html-closing-bracket-spacing In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/html-indent In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/html-quotes In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/multiline-html-element-content-newline In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/mustache-interpolation-spacing In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/no-multi-spaces In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/no-spaces-around-equal-signs-in-attribute In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/singleline-html-element-content-newline In ESLint10.3M reach · +46.8% | warn | In ESLint | 10.3M | +46.8% |
| vue/max-attributes-per-line In ESLint9.5M reach · +46.6% | warn | In ESLint | 9.5M | +46.6% |