by Vue · eslint-plugin-vue
The essential Vue rules plus the ones that improve readability, without the more subjective recommended tier.
pnpm add -D eslint eslint-plugin-vue// eslint.config.js
import vue from "eslint-plugin-vue";
export default [
...vue.configs["flat/strongly-recommended"],
];| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| vue/no-arrow-functions-in-watch | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-async-in-computed-properties | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-computed-properties-in-data | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-data-object-declaration | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-delete-set | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-destroyed-lifecycle | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-events-api | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-model-definition | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-props-default-this | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-vue-config-keycodes | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-export-in-script-setup | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-expose-after-await | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-lifecycle-after-await | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-reserved-keys | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-reserved-props | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-side-effects-in-computed-properties | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-watch-after-await | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/prefer-import-from-vue | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/require-prop-type-constructor | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/require-render-return | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/require-slots-as-functions | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/return-in-computed-property | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/return-in-emits-validator | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-define-emits | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-define-options | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-define-props | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-next-tick | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-child-content | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-dollar-listeners-api | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-dollar-scopedslots-api | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-filter | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-functional-template | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-html-element-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-inline-template | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-router-link-tag-prop | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-scope-attribute | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-slot-attribute | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-slot-scope-attribute | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-bind-sync | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-on-native-modifier | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-on-number-modifiers | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-dupe-v-else-if | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-duplicate-attributes | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-mutating-props | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-ref-as-operand | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-template-key | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-textarea-mustache | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-use-v-if-with-v-for | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-useless-template-attributes | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-v-for-template-key-on-child | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-v-text-v-html-on-component | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-component-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-toggle-inside-transition | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-v-for-key | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-valid-default-prop | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/use-v-on-exact | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-attribute-name | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-template-root | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-bind | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-cloak | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-else | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-else-if | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-for | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-html | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-if | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-memo | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-model | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-on | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-once | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-pre | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-show | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-slot | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-text | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/prop-name-casing | warn | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/attribute-hyphenation | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-template-shadow | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/one-component-per-file | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-explicit-emits | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/v-bind-style | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/v-on-style | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/v-slot-style | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-dupe-keys | error | In ESLint, Oxlint, Biome | 40.9M | +89.4% |
| vue/require-default-prop | warn | In ESLint, Oxlint, Biome | 40.9M | +89.4% |
| vue/require-prop-types | warn | In ESLint, Oxlint, Biome | 40.9M | +89.4% |
| vue/multi-word-component-names | error | In ESLint, Biome | 39.4M | +90.1% |
| vue/no-shared-component-data | error | In ESLint, Oxlint, Biome | 11.7M | +49.7% |
| vue/no-reserved-component-names | error | In ESLint, Oxlint | 11.7M | +49.7% |
| vue/no-unused-vars | error | In ESLint, Biome | 11.7M | +49.7% |
| vue/comment-directive | error | In ESLint | 11.7M | +49.7% |
| vue/jsx-uses-vars | error | In ESLint | 11.7M | +49.7% |
| vue/no-parsing-error | error | In ESLint | 11.7M | +49.7% |
| vue/no-unused-components | error | In ESLint | 11.7M | +49.7% |
| vue/no-use-computed-property-like-method | error | In ESLint | 11.7M | +49.7% |
| vue/component-definition-name-casing | warn | In ESLint, Oxlint | 11.7M | +49.7% |
| vue/v-on-event-hyphenation | warn | In ESLint, Biome | 11.7M | +49.7% |
| vue/first-attribute-linebreak | warn | In ESLint | 11.7M | +49.7% |
| vue/html-end-tags | warn | In ESLint | 11.7M | +49.7% |
| vue/html-self-closing | warn | In ESLint | 11.7M | +49.7% |
| vue/html-closing-bracket-newline | warn | In ESLint | 10.2M | +46.8% |
| vue/html-closing-bracket-spacing | warn | In ESLint | 10.2M | +46.8% |
| vue/html-indent | warn | In ESLint | 10.2M | +46.8% |
| vue/html-quotes | warn | In ESLint | 10.2M | +46.8% |
| vue/multiline-html-element-content-newline | warn | In ESLint | 10.2M | +46.8% |
| vue/mustache-interpolation-spacing | warn | In ESLint | 10.2M | +46.8% |
| vue/no-multi-spaces | warn | In ESLint | 10.2M | +46.8% |
| vue/no-spaces-around-equal-signs-in-attribute | warn | In ESLint | 10.2M | +46.8% |
| vue/singleline-html-element-content-newline | warn | In ESLint | 10.2M | +46.8% |
| vue/max-attributes-per-line | warn | In ESLint | 9.4M | +46.5% |