unstale

npm / eslint-plugin-vue

eslint-plugin-vue

What changed in eslint-plugin-vue 6 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

35 breaking1 security3 deprecations100 new APIs and options3 performance21 behavior and defaults8 tooling40 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

eslint-plugin-vue 1060 changes

Breaking changes 13

  • Treats Vue's special <slot> and <template> elements as components rather than normal HTML elements.

    10.12.0release notes

  • Detects refs identified through type information, including refs returned from composables, which may result in more lint issues.

    10.12.0release notes

  • Removes Reactivity Transform support because the Vue proposal was dropped.

    10.12.0release notes

  • The default for destructure changes from "always" to "only-when-assigned".

    10.8.0release notes

  • The minimum supported versions are ^8.57.0 || ^9.0.0.

    10.0.0release notes

  • Renamed to match eslint.config.js config names.

    10.0.0release notes

  • Globals were removed from configs and may need to be configured manually.

    10.0.0release notes

  • The minimum supported versions are ^18.18.0 || ^20.9.0 || >=21.1.0.

    10.0.0release notes

  • The setup-compiler-macros environments were removed.

    10.0.0release notes

  • The rule's legacy option was removed.

    10.0.0release notes

  • Changed to a peer dependency and upgraded to v10.

    10.0.0release notes

  • The default order now includes slots and expose.

    10.0.0release notes

  • The unused runOutsideVue option was removed.

    10.0.0release notes

Deprecations 1

  • Vue 2 only rules are deprecated and will be removed in eslint-plugin-vue v11.

    10.0.0release notes

New APIs and options 12

  • Adds a required option to report components that omit a required block entirely.

    10.12.0release notes

  • Adds a rule for reporting content outside blocks.

    10.12.0release notes

  • Adds a rule for reporting defaults in defineModel.

    10.12.0release notes

  • Adds a rule for reporting props shadowing.

    10.12.0release notes

  • Adds the ignoreMixins option.

    10.12.0release notes

  • A new rule is available to detect shadowed native events.

    10.11.0release notes

  • The rule now has an allowLineSeparatedGroups option.

    10.10.0release notes

  • Adds the ignoreVBindObject option to the attributes-order rule.

    10.8.0release notes

  • Adds the destructure: "only-when-assigned" option value.

    10.8.0release notes

  • Adds the allowEmptyAlias option to the valid-v-for rule.

    10.8.0release notes

  • Added a rule that disallows importing Vue compiler macros.

    10.0.0release notes

  • Added the except option.

    10.0.0release notes

Performance 3

  • Improves performance by avoiding rebuilding reserved name sets for every file.

    10.12.0release notes

  • Improves the rule's performance and type safety.

    10.6.2release notes

  • The v10 upgrade includes a change that should make the parser much faster for large TypeScript projects.

    10.0.0release notes

Behavior and default changes 6

  • Provides a suggestion instead of an autofix when a fix would move a binding across v-bind="object".

    10.12.0release notes

  • Ignores router-link and nuxt-link elements by default.

    10.12.0release notes

  • The rule now supports defineModel.

    10.11.0release notes

  • The rule now supports template literals.

    10.10.0release notes

  • The rule recognizes more Promise functions in async computed properties.

    10.8.0release notes

  • The base config uses vue-eslint-parser only for .vue files.

    10.0.0release notes

Tooling 2

  • SFCs using @nuxtjs/composition-api are now treated the same as those using vue or @vue/composition-api.

    10.11.0release notes

  • The plugin now checks objects declared with Nuxt3 defineNuxtComponent().

    10.0.0release notes

Fixes and other changes 23

  • Reports defineModel() names that collide with a prop, another model, or a <script setup> variable.

    10.12.0release notes

  • Reports <script setup> variables that shadow a prop while aliasing a different one.

    10.12.0release notes

  • Reports multiple spaces in tags of some top-level blocks, such as <script setup>.

    10.12.0release notes

  • Checks refs created with useTemplateRef().

    10.12.0release notes

  • Fixes false positives for properties returned via ...toRefs(reactive({ ... })) from setup().

    10.12.0release notes

  • Reports unused non-props properties in components that use $props as a whole.

    10.12.0release notes

  • Checks every pair of adjacent properties when withinOption or withinEach is not set.

    10.12.0release notes

  • Handles defaults passed to withDefaults() by reference or spread instead of an inline object literal.

    10.12.0release notes

  • Avoids false positives when an explicit type annotation already applies to the ref() call.

    10.12.0release notes

  • Fixes a false positive for components with a bound :key.

    10.12.0release notes

  • Array rule option schemas now specify explicit items policies.

    10.11.0release notes

  • The resources for HTML elements were updated.

    10.11.0release notes

  • The rule no longer reports @keydown.stop when it is paired with an exact key-specific listener.

    10.11.0release notes

  • Checks segments of colon-separated event names such as update:foo-bar.

    10.9.2release notes

  • No longer reports functions not imported from Vue.

    10.9.2release notes

  • No longer reports imports or exports of names that are not re-exported by vue.

    10.9.2release notes

  • Does not report exhaustive switch statements when TypeScript type information is available.

    10.9.2release notes

  • Updated the peer dependency version to fix parsing errors in Vue SFCs.

    10.9.1release notes

  • Avoids false positives in non-intersecting conditions and correctly detects duplicates in combining expressions.

    10.6.2release notes

  • Fixes false positives for TSImportType in the rule.

    10.6.2release notes

  • Fixed false positives for comments outside <template> in this rule.

    10.6.1release notes

  • Type resolution for generic types was improved, along with rules for checking type-only macros.

    10.0.0release notes

  • Minor versions may enhance checks for new Vue and Nuxt features and update deprecated or reserved HTML and SVG element tag names.

    10.0.0release notes

eslint-plugin-vue 914 changes

Breaking changes 4

  • Node.js v12 is no longer supported.

    9.0.0release notes

  • Adds vue/no-child-content, vue/no-reserved-component-names, vue/no-use-computed-property-like-method, vue/no-v-text-v-html-on-component, vue/valid-attribute-name, vue/valid-model-definition, vue/no-export-in-script-setup, vue/no-ref-as-operand, vue/no-setup-props-destructure, vue/return-in-emits-validator, vue/valid-define-emits, and vue/valid-define-props.

    9.0.0release notes

  • The rule's default casing changes to camelCase.

    9.0.0release notes

  • The rule now applies to top-level tags.

    9.0.0release notes

Deprecations 1

  • The environment is deprecated because it is no longer needed with vue-eslint-parser v9.

    9.0.0release notes

New APIs and options 5

  • Adds the same rules as the essential preset.

    9.0.0release notes

  • Adds vue/no-child-content, vue/no-expose-after-await, vue/no-reserved-component-names, vue/no-use-computed-property-like-method, vue/no-v-text-v-html-on-component, vue/prefer-import-from-vue, and vue/valid-attribute-name.

    9.0.0release notes

  • Adds the same rules as the vue3-essential preset.

    9.0.0release notes

  • Adds the same rules as the vue3-essential preset.

    9.0.0release notes

  • A rule for validating attribute names is added.

    9.0.0release notes

Behavior and default changes 2

Tooling 1

  • The rule can now be fixed via editor suggestions.

    9.0.0release notes

Fixes and other changes 1

  • Fixes incorrect behavior when there are multiple <script> tags.

    9.0.0release notes

eslint-plugin-vue 815 changes

Breaking changes 7

  • Support was dropped for Node.js v8–10, v13, and v15.

    8.0.0release notes

  • The preset now includes vue/valid-next-tick, vue/no-useless-template-attributes, vue/no-computed-properties-in-data, vue/multi-word-component-names, and vue/no-reserved-props.

    8.0.0release notes

  • The preset includes the strongly-recommended changes.

    8.0.0release notes

  • The preset includes the essential changes, plus vue/first-attribute-linebreak.

    8.0.0release notes

  • The preset now includes vue/no-deprecated-v-is, vue/no-export-in-script-setup, vue/valid-define-emits, vue/valid-define-props, vue/valid-next-tick, vue/valid-v-memo, vue/no-useless-template-attributes, vue/no-computed-properties-in-data, vue/multi-word-component-names, vue/no-deprecated-router-link-tag-prop, and vue/no-reserved-props.

    8.0.0release notes

  • The preset includes the vue3-essential changes, plus vue/v-on-event-hyphenation and vue/first-attribute-linebreak.

    8.0.0release notes

  • The allowFirstLine option was removed.

    8.0.0release notes

New APIs and options 5

  • Added the setup-compiler-macros environment.

    8.0.0release notes

  • Added a rule to enforce a consistent location for the first attribute.

    8.0.0release notes

  • Added the ignore option.

    8.0.0release notes

  • Added a rule that applies no-loss-of-precision to expressions in <template>.

    8.0.0release notes

  • Added a rule that disallows reserved names from being used in props.

    8.0.0release notes

Behavior and default changes 2

  • Added support for Nuxt.js asyncData in vue/no-dupe-keys, vue/no-reserved-keys, vue/no-template-shadow, vue/no-undef-properties, and vue/no-unused-properties.

    8.0.0release notes

  • The preset includes the vue3-strongly-recommended changes.

    8.0.0release notes

Fixes and other changes 1

eslint-plugin-vue 7108 changes

Breaking changes 8

  • The base preset removes jsx:true, sets parserOptions.ecmaVersion to 2020, and adds vue/experimental-script-setup-vars.

    7.0.0release notes

  • The preset changes its configuration and adds rules including vue/valid-v-bind-sync, vue/valid-v-slot, and vue/no-mutating-props.

    7.0.0release notes

  • The preset changes its configuration and adds rules including vue/component-tags-order and vue/no-lone-template.

    7.0.0release notes

  • The preset changes its configuration, adds rules including vue/component-definition-name-casing, and removes vue/name-property-casing.

    7.0.0release notes

  • The default order option changes, and a name array can be specified with one order option.

    7.0.0release notes

  • Checks Vue 2 templates for a single root element; separated from vue/valid-template-root.

    7.0.0release notes

  • Disallows placing the key on a template v-for.

    7.0.0release notes

  • The default component order now includes Vue 3, Vue 2, Vue Router, and Nuxt properties, with several Nuxt properties moved.

    7.0.0release notes

Security 1

  • Disallows target="_blank" without rel="noopener noreferrer" to avoid a security vulnerability.

    7.0.0release notes

Deprecations 1

New APIs and options 72

  • Directive comments now support descriptions and block-level directives.

    7.0.0release notes

  • Adds a Vue 3 essential ruleset.

    7.0.0release notes

  • Adds a Vue 3 recommended ruleset.

    7.0.0release notes

  • Adds a Vue 3 strongly recommended ruleset.

    7.0.0release notes

  • Applies comma-spacing to expressions in templates.

    7.0.0release notes

  • Applies comma-style to expressions in templates.

    7.0.0release notes

  • Adds reportUnusedDisableDirectives.

    7.0.0release notes

  • Enforces kebab-case custom event names.

    7.0.0release notes

  • Applies dot-notation to expressions in templates.

    7.0.0release notes

  • Prevents variables defined in script setup from being marked as undefined.

    7.0.0release notes

  • Applies func-call-spacing to expressions in templates.

    7.0.0release notes

  • Enforces unified line breaks in HTML comments.

    7.0.0release notes

  • Enforces unified spacing in HTML comments.

    7.0.0release notes

  • Enforces consistent indentation in HTML comments.

    7.0.0release notes

  • Adds per-tag close bracket offset options for start, end, and self-closing tags.

    7.0.0release notes

  • Disallows defining a watcher with an arrow function.

    7.0.0release notes

  • Disallows bare strings in templates.

    7.0.0release notes

  • Reports custom modifiers used with v-model on Vue components.

    7.0.0release notes

  • Reports deprecated object declarations on the data property.

    7.0.0release notes

  • Reports use of deprecated destroyed and beforeDestroy lifecycle hooks.

    7.0.0release notes

  • Reports use of deprecated $listeners.

    7.0.0release notes

  • Reports use of deprecated $scopedSlots.

    7.0.0release notes

  • Reports use of the deprecated $on, $off, and $once API.

    7.0.0release notes

  • Reports filter syntax removed in Vue.js 3.0.

    7.0.0release notes

  • Reports deprecated functional templates.

    7.0.0release notes

  • Reports the deprecated is attribute on HTML elements.

    7.0.0release notes

  • Reports deprecated inline-template attributes.

    7.0.0release notes

  • Reports use of this within props default value factory functions.

    7.0.0release notes

  • Reports deprecated use of the .sync modifier on v-bind.

    7.0.0release notes

  • Reports use of the deprecated .native modifier on v-on.

    7.0.0release notes

  • Reports deprecated KeyboardEvent.keyCode modifiers on v-on.

    7.0.0release notes

  • Reports use of deprecated Vue.config.keyCodes.

    7.0.0release notes

  • Disallows duplicate conditions in v-if and v-else-if chains.

    7.0.0release notes

  • Warns to apply inheritAttrs: false when v-bind="$attrs" is used.

    7.0.0release notes

  • Disallows empty template, script, and style blocks.

    7.0.0release notes

  • Applies no-extra-parens to expressions in templates.

    7.0.0release notes

  • Reports lifecycle hooks after an await expression.

    7.0.0release notes

  • Disallows unnecessary template elements.

    7.0.0release notes

  • Disallows passing multiple objects into an array for class.

    7.0.0release notes

  • Disallows passing multiple arguments to scoped slots.

    7.0.0release notes

  • Reports mutation of component props.

    7.0.0release notes

  • Disallows potential typos in component options.

    7.0.0release notes

  • Reports cases where a ref is used incorrectly as an operand.

    7.0.0release notes

  • Adds options to report Vue built-in component names.

    7.0.0release notes

  • Disallows specified component options.

    7.0.0release notes

  • Disallows specified attributes.

    7.0.0release notes

  • Disallows specified arguments in v-bind.

    7.0.0release notes

  • Reports destructuring setup props when it causes the value to lose reactivity.

    7.0.0release notes

  • Applies no-sparse-arrays to expressions in templates.

    7.0.0release notes

  • Disallows using components that are not registered inside templates.

    7.0.0release notes

  • Reports unused properties.

    7.0.0release notes

  • Adds ignorePattern to suppress reports for variable names matching a regular expression.

    7.0.0release notes

  • Applies no-useless-concat to expressions in templates.

    7.0.0release notes

  • Reports mustache interpolation with a string literal value.

    7.0.0release notes

  • Reports v-bind directives with string literal values.

    7.0.0release notes

  • Reports a key for template v-for placed on child elements.

    7.0.0release notes

  • Disallows arguments to v-model.

    7.0.0release notes

  • Reports watch() calls after an await expression.

    7.0.0release notes

  • Applies object-curly-newline to expressions in templates.

    7.0.0release notes

  • Applies object-property-newline to expressions in templates.

    7.0.0release notes

  • Checks that each file contains only one component.

    7.0.0release notes

  • Applies operator-linebreak to expressions in templates.

    7.0.0release notes

  • Applies prefer-template to expressions in templates.

    7.0.0release notes

  • Reports event triggers not declared with the emits option.

    7.0.0release notes

  • Enforces using $slots properties as functions.

    7.0.0release notes

  • Reports elements inside transition that do not control the display.

    7.0.0release notes

  • Enforces a return statement in emits validators.

    7.0.0release notes

  • Applies space-in-parens to expressions in templates.

    7.0.0release notes

  • Applies template-curly-spacing to expressions in templates.

    7.0.0release notes

  • Enforces which delimiter, in or of, should be used in v-for directives.

    7.0.0release notes

  • Adds the ignoreIncludesComment option.

    7.0.0release notes

  • Reports incorrect usage of v-is directives.

    7.0.0release notes

Behavior and default changes 10

  • Rules can now analyze arrow function component options.

    7.0.0release notes

  • Rules now support Optional Chaining.

    7.0.0release notes

  • Supports ES2020 syntax and calculates end-tag closing bracket indentation from the start tag.

    7.0.0release notes

  • Tracks the this variable.

    7.0.0release notes

  • Allows v-for keys.

    7.0.0release notes

  • Adds v-model-argument, v-model-custom-modifiers, and v-is to the syntax it checks.

    7.0.0release notes

  • Allows Vue 3 functional components.

    7.0.0release notes

  • Does not report when a key is placed on template.

    7.0.0release notes

  • No longer checks for a single root element.

    7.0.0release notes

  • Plugin rules now detect Vue.js 3.x components.

    7.0.0release notes

Tooling 3

Fixes and other changes 13

  • Casing conversion now behaves like Vue core logic.

    7.0.0release notes

  • Handles v-is as a DEFINITION category.

    7.0.0release notes

  • Fixes reporting the latest-parser message in non-Vue files.

    7.0.0release notes

  • Fixes false negatives involving v-for and v-slot together or destructuring.

    7.0.0release notes

  • Fixes false positives for getters and setters.

    7.0.0release notes

  • Fixes false positives for spread elements.

    7.0.0release notes

  • Fixes a crash when an is attribute has no value.

    7.0.0release notes

  • Fixes false negatives for TemplateLiteral.

    7.0.0release notes

  • Tracks return statements in default factory functions, checks BigInt, and improves error locations.

    7.0.0release notes

  • Fixes crashes on sparse arrays.

    7.0.0release notes

  • Supports ES2020 syntaxes.

    7.0.0release notes

  • Fixes false positives for member calls and autofix errors, and corrects wrong autofixes.

    7.0.0release notes

  • Allows v-model arguments and custom modifiers.

    7.0.0release notes

eslint-plugin-vue 614 changes

Breaking changes 3

New APIs and options 6

  • Adds a rule applying dot-location to expressions in <template>.

    6.0.0release notes

  • Adds a rule applying keyword-spacing to expressions in <template>.

    6.0.0release notes

  • Adds a rule that reports deprecated scope attributes in Vue.js v2.5.0+.

    6.0.0release notes

  • Adds a rule applying no-empty-pattern to expressions in <template>.

    6.0.0release notes

  • Adds a rule enforcing whether to use shorthand or long-form v-slot directives.

    6.0.0release notes

  • Adds a rule that checks whether every v-slot directive is valid.

    6.0.0release notes

Behavior and default changes 1

  • Nuxt properties were added to the rule's default order.

    6.0.0release notes

Tooling 2

Fixes and other changes 2