Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
v10.8.0
Immutable
release. Only release title and notes can be modified.
Minor Changes
- Added ESLint v10 as an allowed peer dependency (needs
eslint-parser-vuev10.3.0) (#2962) - Added more
Promisefunctions tovue/no-async-in-computed-properties(#3020) - Added
ignoreVBindObjectoption tovue/attributes-order(#3012) - Added
allowEmptyAliasoption tovue/valid-v-for(#3011) - Added new
destructure: "only-when-assigned"option tovue/define-props-destructuringand changed default value fromdestructure: "always"todestructure: "only-when-assigned"(#3009)
Patch Changes
- Fixed
vue/no-unused-varsto detect components passed as slot props (#3008)
v10.7.0
Immutable
release. Only release title and notes can be modified.
Minor Changes
- Added new
-errorconfig variants, with all rules' severity set toerror:strongly-recommended-error,recommended-error,vue2-strongly-recommended-error,vue2-recommended-error(along with their flat config equivalents) (#2796) - Added new
vue/no-literals-in-templaterule (#3000) - Added new
vue/no-undef-directivesrule (#2990) - Added new
ignoreEOLCommentsoption tovue/no-multi-spacesrule (#2989) - Changed
vue/no-negated-v-if-conditionsuggestion to autofix (#2984) - Added TypeScript support for eslint-plugin-vue development (#2916)
Patch Changes
- Fixed false positives in
vue/define-props-destructuringrule when imported types are passed todefineProps(#2995) - Updated Vue 3 export names resources: added
DirectiveModifiers(#2996) - Updated Vue 3 export names resources: added
nodeOpsandpatchProp(#2986)
v10.6.2
Patch Changes
- Fixed false positives in non-intersecting conditions in
vue/no-duplicate-class-namesand correctly detect duplicates in combining expressions (#2980) - Fixed false positives for
TSImportTypeinvue/script-indentrule (#2969) - Improved performance and type safety in
vue/prefer-use-template-ref(#2982)
v10.6.1
Patch Changes
- Fixed false positives for comments outside
<template>invue/no-multiple-template-rootrule (#2964)
v10.6.0
Minor Changes
- Updated
vue/no-import-compiler-macrosto clarify that macros are not allowed outside<script setup>(#2938) - Added new
vue/no-duplicate-class-namesrule (#2934)
Patch Changes
- Fixed
vue/no-v-htmlrule to allow ignoring call expressions (#2950) - Improved
vue/define-macros-ordererror messages to distinguish between macro placement and ordering issues (#2953) - Updated dependency postcss-selector-parser to v7.1.0 (#2947)
v10.5.1
Patch Changes
- Fixed
vue/no-negated-v-if-conditionrule to swap entire elements (#2941)
v10.5.0
Minor Changes
- Added
ignoredObjectNamesoption tovue/no-async-in-computed-properties(#2927) - Added
ignorePatternoption tovue/no-v-html(#2857) - Added
sortLineLengthoption tovue/attributes-order(#2759) - Changed
vue/component-name-in-template-casingglobalsoption to support regex patterns (#2928) - Changed
vue/valid-define-optionsto allow local literal constant references (#2920) - Changed
vue/no-mutating-propsandvue/no-side-effects-in-computed-propertiesrules to detectObject.assignmutations (#2929) - Added
@stylistic/eslint-pluginas optional peer dependency (#2884)
Patch Changes
- Changed
vue/define-macros-orderto ignore enum declarations anddeclarestatements (#2918)
v10.4.0
Minor Changes
- Added
ignoreParentsoption tovue/no-deprecated-slot-attribute(#2784) - Added new
vue/no-negated-v-if-conditionrule (#2794) - Added new
vue/no-negated-conditionrule (#2795)
Patch Changes
- Resolved TypeScript compatibility issues introduced by eslint-typegen (#2790)
- Fixed inconsistent quotes in
vue/block-langerror messages (#2805)
v10.3.0
Minor Changes
- Added
@typescript-eslint/parseras an optional peer dependency (#2775) - Added TypeScript IntelliSense support via eslint-typegen (#2770)
vue/no-deprecated-slot-attributeignoreoption now supports regex patterns (#2773)
Patch Changes
- Fixed false negatives when using typescript-eslint v8 in
vue/script-indentrule (#2775) vue/no-restricted-html-elementsnow also checks SVG and MathML elements (#2755)- Updated resources (#2752)
v10.2.0
Minor Changes
vue/no-restricted-html-elementsnow accepts multiple elements in each entry (#2750)
Patch Changes
- Updated resources (#2747)