create-instantsearch-app
create-instantsearch-app copied to clipboard
chore(deps): update dependency eslint-plugin-vue to v7
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-vue (source) | 6.2.2 -> 7.20.0 |
||||
| eslint-plugin-vue (source) | 5.2.2 -> 7.20.0 |
Release Notes
vuejs/eslint-plugin-vue
v7.20.0
✨ Enhancements
- #1472 Added
vue/no-undef-propertiesrule that warns of using undefined properties. - #1653 Added
vue/no-computed-properties-in-datarule that disallow accessing computed properties indata(). - #1659 Improved
vue/no-use-computed-property-like-methodrule reports. - #1661 Added
vue/multi-word-component-namesrule to enforce multiple words in component names. - #1663 Added
vue/no-deprecated-router-link-tag-proprule that disallow using deprecatedtagproperty on<RouterLink>.
🐛 Bug Fixes
- #1659 Fixed crash in
vue/no-use-computed-property-like-methodrule. - #1658 Fixed false positives for vars inside types in
vue/valid-define-emitsandvue/valid-define-propsrules.
⚙️ Updates
- #1654 Changed peer deps eslint ver from
^6.2.0 || ^7.0.0 || ^8.0.0-0to^6.2.0 || ^7.0.0 || ^8.0.0.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v7.19.1...v7.20.0
v7.19.1
:bug: Bug Fixes
- [
83eab8d] Fixed false positives for vars inside functions invue/valid-define-emitsandvue/valid-define-propsrules. Picked from #1652
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v7.19.0...v7.19.1
v7.19.0
✨ Enhancements
- #1639 Added
vue/no-restricted-classrule that reports the classes you don't want to allow in the template. - #1644 Added
vue/no-useless-template-attributesrule that disallow useless attribute on<template>tags.
🐛 Bug Fixes
- #1647 Fixed false positives for toRefs in
vue/no-unused-propertiesrule. - #1648 Fixed unable to autofix event name with
update:.
All commits: v7.18.0 -> v7.19.0
v7.18.0
✨ Enhancements
- #1626 Added
vue/component-api-stylerule that aims to make the API style you use to define Vue components consistent in your project.
⚙️ Updates
- #1619 Updated
vue/script-indentrule to support Class static block and typescript-eslint v5(rc) - #1620 Changed type determination logic of type-only
definePropsto follow vue v3.2.9.
All commits: v7.17.0 -> v7.18.0
v7.17.0
✨ Enhancements
- #1605 Added
vue/no-v-textrule that disallowv-textdirective.
:gear: Updates
- #1607, #1610 Added support for ESLint v8 (beta). Note that ESLint v8 beta support will be removed without notice once a stable version of ESLint v8 is released.
All commits: v7.16.0 -> v7.17.0
v7.16.0
✨ Enhancements
- #1596 Added
vue/valid-v-memorule that enforce validv-memodirectives. - #1599 Updated
vue/no-unsupported-featuresrule to support Vue 3.2 syntaxes.
🐛 Bug Fixes
- #1602 Fixed false positives for namespace component in
vue/script-setup-uses-varsrule.
:gear: Updates
- #1598 Updated
vue/no-restricted-v-bindandvue/valid-v-bindrules to supportattrmodifier.
All commits: v7.15.2 -> v7.16.0
v7.15.2
🐛 Bug Fixes
- #1600 Fixed false positives in
vue/no-use-computed-property-like-methodrule.
All commits: v7.15.1 -> v7.15.2
v7.15.1
🐛 Bug Fixes
- #1590 Fixed message typo in
vue/no-reserved-keysrule. - #1591 Fixed false positives for type-only defineProps in
vue/require-default-proprule.
All commits: v7.15.0 -> v7.15.1
v7.15.0
✨ Enhancements
- #1234 Added
vue/no-use-computed-property-like-methodrule that disallows to use computed property like method. - #1586 Added
vue/block-langrule rule that disallows the use of languages other than those available in the your application for thelangattribute of block elements. - #1576 Updated some rules to support style CSS variable injection.
vue/comma-spacingrule.vue/dot-notationrule.vue/eqeqeqrule.vue/func-call-spacingrule.vue/no-extra-parensrule.vue/no-restricted-syntaxrule.vue/no-useless-concatrule.vue/prefer-templaterule.vue/space-in-parensrule.vue/space-infix-opsrule.vue/space-unary-opsrule.vue/template-curly-spacingrule.
🐛 Bug Fixes
- #1584 Fixed false positives for call expression in
vue/no-mutating-propsrule.
:gear: Updates
- #1576 Upgraded vue-eslint-parser.
All commits: v7.14.0 -> v7.15.0
v7.14.0
✨ Enhancements
- #1568 Added
vue/require-exposerule that enforces the component to explicitly declare the exposed properties to the component usingexpose. - #1566 Updated
vue/no-unused-propertiesrule to supportexpose - #1574 Updated some rules to support style CSS vars injection.
vue/no-parsing-errorrule.vue/no-unused-propertiesrule.vue/script-setup-uses-varsrule.vue/no-unsupported-featuresrule.
- #1565 Improved report location of
vue/valid-v-xxxrules.
🐛 Bug Fixes
- #1569 Fixed false positives for
<script setup>invue/no-lifecycle-after-awaitrule. - #1569 Fixed false positives for
<script setup>invue/no-watch-after-awaitrule. - #1569 Fixed false positives for
<script setup>invue/no-restricted-call-after-awaitrule. - #1575 Downgraded to
semvercompatible with Node v8.
All commits: v7.13.0 -> v7.14.0
v7.13.0
✨ Enhancements
- Supports
<script setup>- #1529 Added
vue/script-setup-uses-varsrule that will find variables in<script setup>used in<template>and mark them as used. - #1559 Added
vue/no-export-in-script-setuprule that disallows ES export in<script setup>. - #1560 Added
vue/valid-define-propsrule that reportsdefinePropscompiler macros in the following cases:definePropsare referencing locally declared variables.definePropshas both a literal type and an argument. e.g.defineProps<{/*props*/}>({/*props*/})definePropshas been called multiple times.- Props are defined in both
definePropsandexport default {}. - Props are not defined in either
definePropsorexport default {}.
- #1561 Added
vue/valid-define-emitsrule that reportsdefineEmitscompiler macros in the following cases:defineEmitsare referencing locally declared variables.defineEmitshas both a literal type and an argument. e.g.defineEmits<(e: 'foo')=>void>(['bar'])defineEmitshas been called multiple times.- Custom events are defined in both
defineEmitsandexport default {}. - Custom events are not defined in either
defineEmitsorexport default {}.
- #1532, #1559 Upgraded
vue-eslint-parser. - Updated rules to support
<script setup>.- #1531
vue/no-mutating-propsrule. - #1535
vue/no-reserved-keysrule. - #1533
vue/no-async-in-computed-propertiesrule. - #1534
vue/no-side-effects-in-computed-propertiesrule. - #1536
vue/require-prop-type-constructorrule. - #1539
vue/no-lifecycle-after-awaitrule. - #1538
vue/require-valid-default-proprule. - #1542
vue/return-in-emits-validatorrule. - #1545
vue/require-default-proprule. - #1540
vue/no-setup-props-destructurerule. - #1541
vue/no-watch-after-awaitrule. - #1543
vue/no-template-shadowrule. - #1544
vue/prop-name-casingrule. - #1546
vue/require-prop-typesrule. - #1548
vue/require-explicit-emitsrule. - #1549
vue/custom-event-name-casingrule. - #1550
vue/no-boolean-defaultrule. - #1551
vue/no-restricted-call-after-awaitrule. - #1552
vue/no-restricted-propsrule. - #1553
vue/no-unregistered-componentsrule. - #1554
vue/no-unsupported-featuresrule. - #1555
vue/no-unused-propertiesrule. - #1556
vue/no-unused-refsrule. - #1557
vue/require-emit-validatorrule. - #1558
vue/require-name-propertyrule.
- #1531
- #1529 Added
- #1543 Updated
vue/no-template-shadowrule to supportsetup(). - #1556 Updated
vue/no-unused-refsrule to supportsetup().
🐛 Bug Fixes
- #1527 Changed the indent rule so that the union type has the same indent as the binary expression.
⚙️ Updates
- #1528 Deprecated
vue/experimental-script-setup-varsrule.
All commits: v7.12.1 -> v7.13.0
v7.12.1
:bug: Bug Fixes
- #1525 Fixed false positives for trailing comma with import in
vue/script-indentrule.
All commits: v7.12.0 -> v7.12.1
v7.12.0
✨ Enhancements
- #1520 Improved
vue/script-indentrule to support TypeScript syntax. - #1481 Improved
vue/script-indentrule andvue/html-indentrule to support ES2022 Class Fields syntax. (When using espree v8+.)
🐛 Bug Fixes
- #1521 Fixed wrong auto-fix in
vue/no-deprecated-slot-attributerule andvue/no-deprecated-slot-scope-attributerule. - #1522 Fixed false positives for default with type Function in
vue/no-deprecated-props-default-thisrule.
⚙️ Updates
- #1481 Supports ES2022 Class Fields. (When using espree v8+.)
All commits: v7.11.1 -> v7.12.0
v7.11.1
:bug: Bug Fixes
- #1515 Fixed crash when using
objectsInObjectsoption invue/object-curly-spacingrule.
v7.11.0
✨ Enhancements
New Rules:
- #1506 Added
vue/no-this-in-before-route-enterrule that disallowthisusage in abeforeRouteEntermethod. - #1510 Added
vue/no-deprecated-v-isrule that disallow deprecatedv-isdirective (in Vue.js 3.1.0+).
Other changes in Rules:
- #1501 Made
vue/no-deprecated-destroyed-lifecyclerule to auto-fixable.
⚙️ Updates
- #1509 Added supports for
is="vue:"(Vue 3.1.0+).
All commits: v7.10.0 -> v7.11.0
v7.10.0
✨ Enhancements
New Rules:
- #1487 Added
vue/require-emit-validatorrule that enforce the validator definition in emits.
Other changes in Rules:
- #1493 Changed
vue/this-in-templaterule to support autofix.
:gear: Updates
- #1484 Changed
vue/attribute-hyphenationrule to ignore SVG attributes.
All commits: v7.9.0 -> v7.10.0
v7.9.0
✨ Enhancements
New Rules:
- #1466 Added
vue/no-invalid-model-keysrule that disallow invalid model option keys. - #1474 Added
vue/no-unused-refsrule that reports refs that are defined using therefattribute in<template>but are not used via$refs.
Other changes in Rules:
- #1465 Added
singleline.allowFirstLineoption tovue/max-attributes-per-linerule.
:bug: Bug Fixes
- #1469 Fixed false negative in
asexpression forvue/require-valid-default-proprule.
All commits: v7.8.0 -> v7.9.0
v7.8.0
✨ Enhancements
- #1450 Changed
vue/require-direct-exportrule to allow more cases (e.g.export default defineComponent({})). - #1451 Changed
vue/valid-v-showrule to disallowv-showin<template>tag.
v7.7.0
✨ Enhancements
Changes in Rules:
- #1444 Added
ignorePublicMembersoption tovue/no-unused-propertiesrule.
🐛 Bug Fixes
- #1446 Fixed false negatives for member access with
$invue/this-in-templaterule.
:gear: Updates
- #1448 Upgrade
vue-eslint-parserto v7.6.0.
This makes the parser to case sensitive to the name used to determine the element when the file is SFC.
All commits: v7.6.0 -> v7.7.0
v7.6.0
✨ Enhancements
New Rules:
Other changes in Rules:
- #1429 Added
"SLOT"option tovue/attributes-orderrule to specifyv-slotorder. - #1430 Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors.
vue/attributes-orderrule.vue/component-tags-orderrule.vue/max-attributes-per-linerule.vue/new-line-between-multi-line-propertyrule.vue/no-bare-strings-in-templaterule.vue/no-duplicate-attributesrule.vue/no-potential-component-option-typorule.vue/no-reserved-component-namesrule.vue/no-use-v-if-with-v-forrule.vue/no-useless-mustachesrule.vue/no-useless-v-bindrule.vue/valid-v-slotrule.
- #1436 Improved autofix of
vue/no-deprecated-slot-attributerule when slot name contains_.
🐛 Bug Fixes
- #1434 Fixed false negatives for
v-bind="object"invue/attributes-orderrule.
:gear: Updates
- #1440 Upgrade
vue-eslint-parserto v7.5.0.
This change fixes an issue that caused a crash when using some queries withvue/no-restricted-syntaxrule.
All commits: v7.5.0 -> v7.6.0
v7.5.0
✨ Enhancements
New Rules:
- #1401 Added
vue/no-constant-conditionrule appliesno-constant-conditionrule to expressions in<template>,v-if,v-showandv-else-if. - #1400 Added
vue/next-tick-stylerule that enforces whether the callback version or Promise version should be used inVue.nextTickandthis.$nextTick. - #1404 Added
vue/valid-next-tickrule that enforce validnextTickfunction calls.
Other changes in Rules:
- #1396 Make
vue/no-ref-as-operandrule fixable.
🐛 Bug Fixes
- #1398 Added
computed()support tovue/no-async-in-computed-propertiesrule. - #1406 Added
computed()support tovue/return-in-computed-propertyrule. - #1407 Added
computed()support tovue/no-side-effects-in-computed-propertiesrule. - #1419 Fixed false positives for mixin() in
vue/one-component-per-fileandvue/require-name-propertyrules. - #1421 Fixed crash for toLocaleString() in
vue/no-unused-propertiesrule. - #1420 Fixed false positives for quoted 'emits' in vue/require-explicit-emits rule.
:gear: Updates
- #1422 Upgrade vue-eslint-parser to 7.4.1
:gear: Chores
- #1392 Refactor
vue/attributes-orderrule. - #1405 Refactor
vue/no-async-in-computed-propertiesrule.
All commits: v7.4.1 -> v7.5.0
v7.4.1
🐛 Bug Fixes
- https://github.com/vuejs/eslint-plugin-vue/commit/d176d6bce9953c1b20eff851208235ea7e7a5efa Fixed false positives for assignments in
no-ref-as-operandrule
All commits: v7.4.0 -> v7.4.1
v7.4.0
✨ Enhancements
New Rules:
- #1381 Added
vue/no-restricted-call-after-awaitrule that reports your restricted calls after theawaitexpression. - #1388 Added
vue/v-on-event-hyphenationrule that enforces using hyphenated v-on event names on custom components in Vue templates. - #1389 Added
vue/no-restricted-blockrule that allows you to specify block names that you don't want to use in your application.
Other changes in Rules:
- #1387 Added
deepDataoption tovue/no-unused-propertiesrule.
🐛 Bug Fixes
- #1382 Fixed multiple reporting of same warnings in
vue/no-unregistered-componentrule. - #1391 Fixed false positives for
v-bind="object"syntax invue/attributes-orderrule.
All commits: v7.3.0 -> v7.4.0
v7.3.0
✨ Enhancements
- #1080 Added
vue/new-line-between-multiline-propertyrule that enforces new lines between multi-line properties. - #1376 Added
vue/no-restricted-propsrule that disallows prop names that you don't want to use. - #1377 Added
vue/no-restricted-custom-eventrule that disallows custom event names that you don't want to use.
⚙️ Updates
- #1375 Upgraded vue-eslint-parser to 7.3.0
All commits: v7.2.0 -> v7.3.0
v7.2.0
✨ Enhancements
- #1364 Added casing option to
vue/custom-event-name-casingrule.
⚙️ Updates
- #1365 Upgraded vue-eslint-parser to 7.2.0
- #1364 Removed
vue/custom-event-name-casingrule from"plugin:vue/essential"and"plugin:vue/vue3-essential"configurations
🐛 Bug Fixes
- #1335 Fixed false positives when using
isattr invue/valid-v-bind-syncrule. - #1366 Fixed false positives when using v-for variable for v-slot in
vue/valid-v-slotrule - #1367 Fixed false positives when using
- #1368 Fixed false negatives when using handler property in
vue/no-arrow-functions-in-watchrule - #1369 Fixed false positives for methods whose arguments should not be changed in
vue/v-on-function-callrule.
All commits: v7.1.0 -> v7.2.0
v7.1.0
✨ Enhancements
New Rules:
- #1328 Added
vue/block-tag-newlinerule that enforces a line break (or no line break) after opening and before closing block tags. - #1326 Added
vue/array-bracket-newlinerule appliesarray-bracket-newlinerule to expressions in<template>.
Other changes in Rules:
- #1321 Added
ignoresoption tovue/custom-event-name-casingrule. - #1330 Added
allowModifiersoption tovue/valid-v-slotrule.
🐛 Bug Fixes
- #1332 Fixed CRLF issues.
- #1305 Fixed false positives for recursive components in
vue/no-unregistered-componentsrule. - #1324 Fixed false positives when used via argument in
vue/no-unused-properties
⚙️ Updates
- #1322 Changed not to use ESLint internal modules.
⚙️ Chores
All commits: v7.0.1 -> v7.1.0
v7.0.1
🐛 Bug Fixes
- #1317 Avoid redundant global self-require of the plugin.
All commits: v7.0.0 -> v7.0.1
v7.0.0
:rocket: Highlight
- Support for Vue.js 3.0 "One Piece".
- Support for ESLint 7.x.
- Support for ECMAScript 2020.
- Added 66 new rules.
💥 Breaking Changes
- #1209 Change support version of ESLint from 6.0.0 to 6.2.0.
- Updated presets configs.
- Changed
plugin:vue/baseconfig. - Changed
plugin:vue/essentialconfig.- Same changes as above.
- #1036 Added
vue/valid-v-bind-syncrule. - #1036 Added
vue/valid-v-slotrule. - #1036 Added
vue/no-custom-modifiers-on-v-modelrule. - #1036 Added
vue/no-multiple-template-rootrule. - #1036 Added
vue/no-v-model-argumentrule. - #1148 Added
vue/no-mutating-propsrule. - #1156 Added
vue/no-arrow-functions-in-watchrule. - #1166 Added
vue/custom-event-name-casingrule. - #1239 Added
vue/no-dupe-v-else-ifrule. - #1281 Added
vue/no-v-for-template-keyrule.
- Changed
plugin:vue/strongly-recommendedconfig. - Changed
plugin:vue/recommendedconfig.
- Changed
- #1036 Changed
vue/name-property-casingrule to be deprecate. - #1120 Added the support of descriptions in directive comments.
- #1120 Added the support for block-level directive comments.
- Changed the default order option for
vue/order-in-componentsrule.- Add options for Vue.js 3.x.
- Add options for Vue.js 2.x.
- Add options for Vue Router.
- #1107 ROUTER_GUARDS (
beforeRouteEnter,beforeRouteUpdateandbeforeRouteLeave) to afterprovide / inject(provide / injectwas added aftermixins).
- #1107 ROUTER_GUARDS (
- Add options for Nuxt.
- Change options for Nuxt.
✨ Enhancements
Core:
- #1120 Added the support of descriptions in directive comments.
- #1120 Added the support for block-level directive comments.
- #1073, #1088 Updated the rules of this plugin to detect Vue.js 3.x components.
- #1064 Updated the rules of this plugin to be able to analyze the arrow function component options.
- #1152 Changed casing conversion logic to behave like Vue core logic.
- Changed
plugin:vue/essentialconfig. - Changed
plugin:vue/strongly-recommendedconfig. - Changed
plugin:vue/recommendedconfig.
New Rulesets:
- Added
plugin:vue/vue3-essentialconfig. - Added
plugin:vue/vue3-strongly-recommendedconfig. - Added
plugin:vue/vue3-recommendedconfig.
New Rules:
for Vue.js 3.x:
- #1039 Added
vue/no-deprecated-v-bind-syncrule that reports when deprecated.syncmodifier is used onv-binddirective. Related to [RFC0005] - #1043 Added
vue/no-deprecated-filterrule that reports usage of filters syntax removed in Vue.js 3.0.0+. Related to [RFC0015] - #1065 Added
vue/no-ref-as-operandrule that reports cases where a ref is used incorrectly as an operand. Related to [RFC0013] - #1066 Added
vue/no-setup-props-destructurerule that reports the destructuring of props passed to setup causing the value to lose reactivity. Related to [RFC0013] - #1067 Added
vue/no-lifecycle-after-awaitrule that reports the lifecycle hooks after await expression. Related to [RFC0013] - #1079 Added
vue/no-deprecated-v-on-number-modifiersrule that reports use of deprecatedKeyboardEvent.keyCodemodifier onv-ondirective. Related to [RFC0014] - #1083 Added
vue/no-deprecated-data-object-declarationrule that reports use of deprecated object declaration ondataproperty. Related to [RFC0019] - #1097 Added
vue/no-deprecated-events-apirule that reports use of deprecated$on,$offand$onceapi (removed in Vue.js v3.0.0+). Related to [RFC0020] - #1068 Added
vue/no-watch-after-awaitrule that reports thewatch()afterawaitexpression. [RFC0013] - #1099, #1105 Added
vue/require-toggle-inside-transitionrule that reports elements inside<transition>that do not control the display. Related to [RFC0017] - #1100 Added
vue/no-deprecated-inline-templaterule that reports deprecatedinline-templateattributes (removed in Vue.js v3.0.0+) Related to [RFC0016] - #1117 Added
vue/no-deprecated-html-element-isrule that reports deprecated the is attribute on HTML elements (removed in Vue.js v3.0.0+). Related to [RFC0027] - #1118 Added
vue/no-deprecated-vue-config-keycodesrule that reports use of deprecated Vue.config.keyCodes (removed in Vue.js 3.0.0+). Related to [RFC0014] - #1119 Added
vue/no-deprecated-functional-templaterule that reports deprecated the functional template (removed in Vue.js 3.0.0+). Related to [RFC0007] - #1124 Added
vue/require-explicit-emitsrule that reports event triggers not declared with the emits option. Related to [RFC0030] - #1129 Added
vue/return-in-emits-validatorrule enforces that a return statement is present in emits validators. Related to [RFC0030] - #1130 Added
vue/no-deprecated-v-on-native-modifierrule that reports use of deprecated.nativemodifier onv-ondirective. Related to [RFC0031] - #1133 Added
vue/no-deprecated-dollar-listeners-apirule that reports use of deprecated$listeners. Related to [RFC0031] - #1177 Added
vue/no-deprecated-dollar-scopedslots-apirule that reports use of deprecated$scopedSlots. Related to [RFC0006] - #1178 Added
vue/require-slots-as-functionsrule enforces the properties of $slots to be used as a function. Related to [RFC0006] - #1211 Added
vue/no-deprecated-destroyed-lifecyclerule reports use of deprecateddestroyedandbeforeDestroylifecycle hooks. - #1253 Added
vue/valid-v-isrule that reports wrong usage ofv-isdirectives. - #1289 Added
vue/no-v-for-template-key-on-childrule that reports the key of the<template v-for>placed on the child elements. - #1302 Added
vue/no-deprecated-props-default-thisrule that reports the use ofthiswithin the props default value factory functions. - #1303 Added
vue/experimental-script-setup-varsrule that prevent variables defined in<script setup>to be marked as undefined.
for Vue.js 2.x:
- #1038 Added
vue/no-multiple-template-rootrule to template to check for a single root element. This rule has been separated from the previousvue/valid-template-rootrule. - #1039 Added
vue/no-v-model-argumentrule that does not allow argument to v-model. - #1039 Added
vue/no-custom-modifiers-on-v-modelrule that reports whenv-modelis used with custom modifiers on Vue Component. - #1281 Added
vue/no-v-for-template-keyrule that disallow the key placed on the<template v-for>. This rule has been separated from the previousvue/no-template-keyrule.
Commons:
- #1086 Added
vue/no-template-no-target-blankrule that disallows usingtarget="_blank"attribute withoutrel="noopener noreferrer"to avoid a security vulnerability. - #1114 Added
vue/no-unregistered-componentsrule that disallow using components that are not registered inside templates. - #755 Added
vue/html-comment-indentrule that enforce consistent indentation in HTML comments. - #755 Added
vue/html-comment-content-newlinerule that enforce unified line brake in HTML comments. - #755 Added
vue/html-comment-content-spacingrule that enforce unified spacing in HTML comments. - #627 #1144 Added
vue/no-duplicate-attr-inheritancerule that warn to applyinheritAttrs: falsewhen it detectsv-bind="$attrs"being used. - #871 #1145 Added
vue/no-unused-propertiesrule that report unused properties. - #633 #1148 Added
vue/no-mutating-propsrule that reports mutation of component props. - #671 Added
vue/one-component-per-filerule that checks if there is only one component per file. - #1072 Added
vue/no-potential-property-typorule that disallow a potential typo in your component options. - #1155 Added
vue/no-arrow-functions-in-watchrule that disallow use an arrow function to define a watcher. - #1166 Added
vue/custom-event-name-casingrule that enforces using kebab-case custom event names. - #1179 Added
vue/no-multiple-slot-argsrule disallows to pass multiple arguments to scoped slots. - #1185 Added
vue/no-bare-strings-in-templaterule that disallows the use of bare strings in<template>. - #1186 Added
vue/no-useless-v-bindrule that reportsv-bindwith a string literal value. - #1187 Added
vue/no-useless-mustachesrule that reports mustache interpolation with a string literal value. - #1191 Added
vue/no-restricted-v-bindrule that disallow specific argument inv-bind. - #1192 Added
vue/no-restricted-static-attributerule that disallow specific attribute. - #1213 Added
vue/no-restricted-component-optionsrule that disallow specific component options. - #1218 Added
vue/no-multiple-objects-in-classrule disallows to pass multiple objects into array to class. - #1222 Added
vue/no-empty-component-blockrule disallows the<template><script><style>block to be empty. - #1238 Added
vue/no-lone-templaterule that disallow unnecessary<template>element. - #1239 Added
vue/no-dupe-v-else-ifrule that disallow duplicate conditions inv-if/v-else-ifchains. - #1267 Added
vue/v-for-delimiter-stylerule that enforces which delimiter (inorof) should be used inv-fordirectives.
Core Extends:
- #1140 Added
vue/comma-spacingrule that appliescomma-spacingrule to expressions in<template>. - #1141 Added
vue/prefer-templaterule that appliesprefer-templaterule to expressions in<template>. - #1142 Added
vue/template-curly-spacingrule that appliestemplate-curly-spacingrule to expressions in<template>. - #1157 Added
vue/space-in-parensrule that appliesspace-in-parensrule to expressions in<template>. - #1159 Added
vue/comma-stylerule that appliescomma-stylerule to expressions in<template>. - #1158 Added
vue/no-extra-parensrule that appliesno-extra-parensrule to expressions in<template>. - #1171 Added
vue/no-useless-concatrule that appliesno-useless-concatrule to expressions in<template>. - #1173 Added
vue/dot-notationrule that appliesdot-notationrule to expressions in<template>. - #1193 Added
vue/object-property-newlinerule that appliesobject-property-newlinerule to expressions in<template>. - #1194 Added
vue/object-curly-newlinerule that appliesobject-curly-newlinerule to expressions in<template>. - #1200 Added
vue/operator-linebreakrule that appliesoperator-linebreakrule to expressions in<template>. - #1201 Added
vue/func-call-spacingrule that appliesfunc-call-spacingrule to expressions in<template>. - #1243 Added
vue/no-sparse-arraysrule that appliesno-sparse-arraysrule to expressions in<template>.
New Options:
- #1070 Added
ignorePatternoption tovue/no-unsed-varsrule to disables reporting of variable names that match the regular expression. - #1116 Added
disallowVueBuiltInComponentsanddisallowVue3BuiltInComponentsoption that reports Vue built-in component names to thevue/no-reserved-component-namesrule. - #1167 Added
reportUnusedDisableDirectivesoption tovue/comment-directive. - #1162 Added
closeBracket.startTag,closeBracket.endTagandcloseBracket.selfClosingTagoptions tovue/html-indentrule. So that the closeBracket offset value can be set for each tag type. - #1204 Added
ignoreIncludesCommentoption tovue/v-on-function-callrule. - #1212 Added
"v-model-argument"and"v-model-custom-modifiers"to the syntax checked by thevue/no-unsupported-featuresrule. - #1254 Added
"v-is"to the syntax checked by thevue/no-unsupported-featuresrule.
Other Changes in Rules:
for Vue.js 3.x:
- #1038 Changed to remove a single root element check from
vue/valid-template-rootrule. - #1039 Changed
vue/valid-v-modelrule to allowv-modelargument. Related to [RFC0011] - #1039 Changed
vue/valid-v-modelrule to allowv-modelcustom modifiers. Related to [RFC0011] - #1082 Changed
vue/no-dupe-key,vue/no-reserved-keysrules to handlesetup. - #1199 Changed
vue/require-direct-exportrule to allow Vue 3 functional component. - #1181 Added the Vue.js 3.x options to the default order option for
vue/order-in-componentsrule. - #1254 Changed the
vue/attributes-orderrule to handlev-isasDEFINITIONcategory. - #1254 Changed the
vue/no-unregistered-componentsrule to handlev-islike:is. - #1254 Changed the
vue/no-unused-componentsrule to handlev-islike:is. - #1258 Changed to report
slot-scopewhen"^3.0.0"is set invue/no-unsupported-featuresrule. - #1281 Changed
vue/no-template-keyrule to allowv-forkey. - #1287 Changed
vue/valid-v-forrule to not report when placing key on<template>. - #1287 Changed
vue/require-v-for-keyrule to not report when placing key on<template>.
Commons:
- #1036 Changed
vue/name-property-casingrule to be deprecate. - [#1154](https://togithub.c
Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.