dgiot-konva-editior
dgiot-konva-editior copied to clipboard
chore(deps): update dependency eslint-plugin-vue to v8
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-vue (source) | ^6.2.2 -> 8.2.0 |
Release Notes
vuejs/eslint-plugin-vue
v8.2.0
✨ Enhancements
-
#1725 Added
vue/component-options-name-casing
rule that enforces the casing of component name incomponents
options. -
#1729 Added
vue/prefer-separate-static-class
rule that requires static class names in template to be in a separateclass
attribute.
🐛 Bug Fixes
-
#1736 Fixed false positives for import binding in
vue/valid-define-emits
andvue/valid-define-props
rules.
:gear: Updates
-
#1719 Added support for TypeScript 4.5 to
vue/script-indent
rule. -
#1735 Changed to allow
asyncData
invue/no-dupe-keys
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.1...v8.2.0
v8.1.1
🐛 Bug Fixes
-
#1721 Fixed crash in
vue/component-api-style
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.0...v8.1.1
v8.1.0
✨ Enhancements
-
#1707 Added
vue/no-child-content
rule that reports child content of elements that have a directive which overwrites that child content. -
#1712 Added
vue/no-expose-after-await
rule that reports theexpose()
afterawait
expression. -
#1703 Added
composition-vue2
style option invue/component-api-style
rule.
🐛 Bug Fixes
-
#1713 Fixed false positives for type-only exports in
vue/no-export-in-script-setup
rule. -
#1715 Fixed false negatives for
v-bind.sync
invue/no-mutating-props
rule. -
#1715 Fixed false positives for shadowed props in
vue/no-mutating-props
rule. - #1718 Fixed memory leak.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.3...v8.1.0
v8.0.3
🐛 Bug Fixes
-
#1691 Upgrade vue-eslint-parser to use patch.
It upgrade fixes the wrong location in multiple
<script>
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.2...v8.0.3
v8.0.2
🐛 Bug Fixes
-
#1689 Fixed false positive for filename in
vue/multi-word-component-names
rule
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.1...v8.0.2
v8.0.1
🐛 Bug Fixes
-
#1686 Fixed false positives for arrow return in
vue/valid-next-tick
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.0...v8.0.1
v8.0.0
💥 Breaking Changes
- #1588 Dropped supports Node.js v8-10, v13 and v15.
- #1664 Upgraded vue-eslint-parser to v8.0.0.
- Changed presets configs.
- Changed
plugin:vue/vue3-essential
config.-
#1603 Added
vue/no-deprecated-v-is
rule. -
#1603 Added
vue/no-export-in-script-setup
rule. -
#1603 Added
vue/valid-define-emits
rule. -
#1603 Added
vue/valid-define-props
rule. -
#1603 Added
vue/valid-next-tick
rule. -
#1603 Added
vue/valid-v-memo
rule. -
#1603 Added
vue/no-useless-template-attributes
rule. -
#1603 Added
vue/no-computed-properties-in-data
rule. -
#1603 Added
vue/multi-word-component-names
rule. -
#1603 Added
vue/no-deprecated-router-link-tag-prop
rule. -
#1678 Added
vue/no-reserved-props
rule.
-
#1603 Added
- Changed
plugin:vue/vue3-strongly-recommended
config.- Same changes as above.
-
#1603 Added
vue/v-on-event-hyphenation
rule. -
#1587 Added
vue/first-attribute-linebreak
rule.
- Changed
plugin:vue/vue3-recommended
config.- Same changes as above.
- Changed
plugin:vue/essential
config. - Changed
plugin:vue/strongly-recommended
config.- Same changes as above.
-
#1587 Added
vue/first-attribute-linebreak
rule.
- Changed
plugin:vue/recommended
config.- Same changes as above.
- Changed
-
#1587 Removed the
allowFirstLine
option of thevue/max-attributes-per-line
rule.
✨ Enhancements
Core:
-
#1685 Added
setup-compiler-macros
environment.
Rules:
-
#1587 Added
vue/first-attribute-linebreak
rule aims to enforce a consistent location for the first attribute. -
#1678 Added
vue/no-reserved-props
rule that disallow reserved names to be used in props. -
#1680 Added
vue/no-loss-of-precision
rule that appliesno-loss-of-precision
rule to expressions in<template>
. -
#1681 Added
ignore
option tovue/multi-word-component-names
rule. -
#1679 Added support for Nuxt.js's
asyncData
invue/no-dupe-keys
,vue/no-reserved-keys
,vue/no-template-shadow
,vue/no-undef-properties
, andvue/no-unused-properties
rules.
🐛 Bug Fixes
-
#1684 Fixed false positives for non-vue file in
vue/multi-word-component-names
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.0
v7.20.0
✨ Enhancements
-
#1472 Added
vue/no-undef-properties
rule that warns of using undefined properties. -
#1653 Added
vue/no-computed-properties-in-data
rule that disallow accessing computed properties indata()
. -
#1659 Improved
vue/no-use-computed-property-like-method
rule reports. -
#1661 Added
vue/multi-word-component-names
rule to enforce multiple words in component names. -
#1663 Added
vue/no-deprecated-router-link-tag-prop
rule that disallow using deprecatedtag
property on<RouterLink>
.
🐛 Bug Fixes
-
#1659 Fixed crash in
vue/no-use-computed-property-like-method
rule. -
#1658 Fixed false positives for vars inside types in
vue/valid-define-emits
andvue/valid-define-props
rules.
⚙️ Updates
-
#1654 Changed peer deps eslint ver from
^6.2.0 || ^7.0.0 || ^8.0.0-0
to^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-emits
andvue/valid-define-props
rules. 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-class
rule that reports the classes you don't want to allow in the template. -
#1644 Added
vue/no-useless-template-attributes
rule that disallow useless attribute on<template>
tags.
🐛 Bug Fixes
-
#1647 Fixed false positives for toRefs in
vue/no-unused-properties
rule. -
#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-style
rule that aims to make the API style you use to define Vue components consistent in your project.
⚙️ Updates
-
#1619 Updated
vue/script-indent
rule to support Class static block and typescript-eslint v5(rc) -
#1620 Changed type determination logic of type-only
defineProps
to follow vue v3.2.9.
All commits: v7.17.0 -> v7.18.0
v7.17.0
✨ Enhancements
-
#1605 Added
vue/no-v-text
rule that disallowv-text
directive.
: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-memo
rule that enforce validv-memo
directives. -
#1599 Updated
vue/no-unsupported-features
rule to support Vue 3.2 syntaxes.
🐛 Bug Fixes
-
#1602 Fixed false positives for namespace component in
vue/script-setup-uses-vars
rule.
:gear: Updates
-
#1598 Updated
vue/no-restricted-v-bind
andvue/valid-v-bind
rules to supportattr
modifier.
All commits: v7.15.2 -> v7.16.0
v7.15.2
🐛 Bug Fixes
-
#1600 Fixed false positives in
vue/no-use-computed-property-like-method
rule.
All commits: v7.15.1 -> v7.15.2
v7.15.1
🐛 Bug Fixes
-
#1590 Fixed message typo in
vue/no-reserved-keys
rule. -
#1591 Fixed false positives for type-only defineProps in
vue/require-default-prop
rule.
All commits: v7.15.0 -> v7.15.1
v7.15.0
✨ Enhancements
-
#1234 Added
vue/no-use-computed-property-like-method
rule that disallows to use computed property like method. -
#1586 Added
vue/block-lang
rule rule that disallows the use of languages other than those available in the your application for thelang
attribute of block elements. -
#1576 Updated some rules to support style CSS variable injection.
-
vue/comma-spacing
rule. -
vue/dot-notation
rule. -
vue/eqeqeq
rule. -
vue/func-call-spacing
rule. -
vue/no-extra-parens
rule. -
vue/no-restricted-syntax
rule. -
vue/no-useless-concat
rule. -
vue/prefer-template
rule. -
vue/space-in-parens
rule. -
vue/space-infix-ops
rule. -
vue/space-unary-ops
rule. -
vue/template-curly-spacing
rule.
-
🐛 Bug Fixes
-
#1584 Fixed false positives for call expression in
vue/no-mutating-props
rule.
:gear: Updates
- #1576 Upgraded vue-eslint-parser.
All commits: v7.14.0 -> v7.15.0
v7.14.0
✨ Enhancements
-
#1568 Added
vue/require-expose
rule that enforces the component to explicitly declare the exposed properties to the component usingexpose
. -
#1566 Updated
vue/no-unused-properties
rule to supportexpose
-
#1574 Updated some rules to support style CSS vars injection.
-
vue/no-parsing-error
rule. -
vue/no-unused-properties
rule. -
vue/script-setup-uses-vars
rule. -
vue/no-unsupported-features
rule.
-
-
#1565 Improved report location of
vue/valid-v-xxx
rules.
🐛 Bug Fixes
-
#1569 Fixed false positives for
<script setup>
invue/no-lifecycle-after-await
rule. -
#1569 Fixed false positives for
<script setup>
invue/no-watch-after-await
rule. -
#1569 Fixed false positives for
<script setup>
invue/no-restricted-call-after-await
rule. -
#1575 Downgraded to
semver
compatible with Node v8.
All commits: v7.13.0 -> v7.14.0
v7.13.0
✨ Enhancements
- Supports
<script setup>
-
#1529 Added
vue/script-setup-uses-vars
rule that will find variables in<script setup>
used in<template>
and mark them as used. -
#1559 Added
vue/no-export-in-script-setup
rule that disallows ES export in<script setup>
. -
#1560 Added
vue/valid-define-props
rule that reportsdefineProps
compiler macros in the following cases:-
defineProps
are referencing locally declared variables. -
defineProps
has both a literal type and an argument. e.g.defineProps<{/*props*/}>({/*props*/})
-
defineProps
has been called multiple times. - Props are defined in both
defineProps
andexport default {}
. - Props are not defined in either
defineProps
orexport default {}
.
-
-
#1561 Added
vue/valid-define-emits
rule that reportsdefineEmits
compiler macros in the following cases:-
defineEmits
are referencing locally declared variables. -
defineEmits
has both a literal type and an argument. e.g.defineEmits<(e: 'foo')=>void>(['bar'])
-
defineEmits
has been called multiple times. - Custom events are defined in both
defineEmits
andexport default {}
. - Custom events are not defined in either
defineEmits
orexport default {}
.
-
-
#1532, #1559 Upgraded
vue-eslint-parser
. - Updated rules to support
<script setup>
.-
#1531
vue/no-mutating-props
rule. -
#1535
vue/no-reserved-keys
rule. -
#1533
vue/no-async-in-computed-properties
rule. -
#1534
vue/no-side-effects-in-computed-properties
rule. -
#1536
vue/require-prop-type-constructor
rule. -
#1539
vue/no-lifecycle-after-await
rule. -
#1538
vue/require-valid-default-prop
rule. -
#1542
vue/return-in-emits-validator
rule. -
#1545
vue/require-default-prop
rule. -
#1540
vue/no-setup-props-destructure
rule. -
#1541
vue/no-watch-after-await
rule. -
#1543
vue/no-template-shadow
rule. -
#1544
vue/prop-name-casing
rule. -
#1546
vue/require-prop-types
rule. -
#1548
vue/require-explicit-emits
rule. -
#1549
vue/custom-event-name-casing
rule. -
#1550
vue/no-boolean-default
rule. -
#1551
vue/no-restricted-call-after-await
rule. -
#1552
vue/no-restricted-props
rule. -
#1553
vue/no-unregistered-components
rule. -
#1554
vue/no-unsupported-features
rule. -
#1555
vue/no-unused-properties
rule. -
#1556
vue/no-unused-refs
rule. -
#1557
vue/require-emit-validator
rule. -
#1558
vue/require-name-property
rule.
-
#1531
-
#1529 Added
-
#1543 Updated
vue/no-template-shadow
rule to supportsetup()
. -
#1556 Updated
vue/no-unused-refs
rule 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-vars
rule.
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-indent
rule.
All commits: v7.12.0 -> v7.12.1
v7.12.0
✨ Enhancements
-
#1520 Improved
vue/script-indent
rule to support TypeScript syntax. -
#1481 Improved
vue/script-indent
rule andvue/html-indent
rule to support ES2022 Class Fields syntax. (When using espree v8+.)
🐛 Bug Fixes
-
#1521 Fixed wrong auto-fix in
vue/no-deprecated-slot-attribute
rule andvue/no-deprecated-slot-scope-attribute
rule. -
#1522 Fixed false positives for default with type Function in
vue/no-deprecated-props-default-this
rule.
⚙️ 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
objectsInObjects
option invue/object-curly-spacing
rule.
v7.11.0
✨ Enhancements
New Rules:
-
#1506 Added
vue/no-this-in-before-route-enter
rule that disallowthis
usage in abeforeRouteEnter
method. -
#1510 Added
vue/no-deprecated-v-is
rule that disallow deprecatedv-is
directive (in Vue.js 3.1.0+).
Other changes in Rules:
-
#1501 Made
vue/no-deprecated-destroyed-lifecycle
rule 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-validator
rule that enforce the validator definition in emits.
Other changes in Rules:
-
#1493 Changed
vue/this-in-template
rule to support autofix.
:gear: Updates
-
#1484 Changed
vue/attribute-hyphenation
rule to ignore SVG attributes.
All commits: v7.9.0 -> v7.10.0
v7.9.0
✨ Enhancements
New Rules:
-
#1466 Added
vue/no-invalid-model-keys
rule that disallow invalid model option keys. -
#1474 Added
vue/no-unused-refs
rule that reports refs that are defined using theref
attribute in<template>
but are not used via$refs
.
Other changes in Rules:
-
#1465 Added
singleline.allowFirstLine
option tovue/max-attributes-per-line
rule.
:bug: Bug Fixes
-
#1469 Fixed false negative in
as
expression forvue/require-valid-default-prop
rule.
All commits: v7.8.0 -> v7.9.0
v7.8.0
✨ Enhancements
-
#1450 Changed
vue/require-direct-export
rule to allow more cases (e.g.export default defineComponent({})
). -
#1451 Changed
vue/valid-v-show
rule to disallowv-show
in<template>
tag.
v7.7.0
✨ Enhancements
Changes in Rules:
-
#1444 Added
ignorePublicMembers
option tovue/no-unused-properties
rule.
🐛 Bug Fixes
-
#1446 Fixed false negatives for member access with `
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-vue (source) | ^6.2.2 -> 8.2.0 |
in vue/this-in-template
rule.
:gear: Updates
-
#1448 Upgrade
vue-eslint-parser
to 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-order
rule to specifyv-slot
order. -
#1430 Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors.
-
vue/attributes-order
rule. -
vue/component-tags-order
rule. -
vue/max-attributes-per-line
rule. -
vue/new-line-between-multi-line-property
rule. -
vue/no-bare-strings-in-template
rule. -
vue/no-duplicate-attributes
rule. -
vue/no-potential-component-option-typo
rule. -
vue/no-reserved-component-names
rule. -
vue/no-use-v-if-with-v-for
rule. -
vue/no-useless-mustaches
rule. -
vue/no-useless-v-bind
rule. -
vue/valid-v-slot
rule.
-
-
#1436 Improved autofix of
vue/no-deprecated-slot-attribute
rule when slot name contains_
.
🐛 Bug Fixes
-
#1434 Fixed false negatives for
v-bind="object"
invue/attributes-order
rule.
:gear: Updates
-
#1440 Upgrade
vue-eslint-parser
to v7.5.0.
This change fixes an issue that caused a crash when using some queries withvue/no-restricted-syntax
rule.
All commits: v7.5.0 -> v7.6.0
v7.5.0
✨ Enhancements
New Rules:
-
#1401 Added
vue/no-constant-condition
rule appliesno-constant-condition
rule to expressions in<template>
,v-if
,v-show
andv-else-if
. -
#1400 Added
vue/next-tick-style
rule that enforces whether the callback version or Promise version should be used inVue.nextTick
andthis.$nextTick
. -
#1404 Added
vue/valid-next-tick
rule that enforce validnextTick
function calls.
Other changes in Rules:
-
#1396 Make
vue/no-ref-as-operand
rule fixable.
🐛 Bug Fixes
-
#1398 Added
computed()
support tovue/no-async-in-computed-properties
rule. -
#1406 Added
computed()
support tovue/return-in-computed-property
rule. -
#1407 Added
computed()
support tovue/no-side-effects-in-computed-properties
rule. -
#1419 Fixed false positives for mixin() in
vue/one-component-per-file
andvue/require-name-property
rules. -
#1421 Fixed crash for toLocaleString() in
vue/no-unused-properties
rule. - #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-order
rule. -
#1405 Refactor
vue/no-async-in-computed-properties
rule.
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-operand
rule
All commits: v7.4.0 -> v7.4.1
v7.4.0
✨ Enhancements
New Rules:
-
#1381 Added
vue/no-restricted-call-after-await
rule that reports your restricted calls after theawait
expression. -
#1388 Added
vue/v-on-event-hyphenation
rule that enforces using hyphenated v-on event names on custom components in Vue templates. -
#1389 Added
vue/no-restricted-block
rule that allows you to specify block names that you don't want to use in your application.
Other changes in Rules:
-
#1387 Added
deepData
option tovue/no-unused-properties
rule.
🐛 Bug Fixes
-
#1382 Fixed multiple reporting of same warnings in
vue/no-unregistered-component
rule. -
#1391 Fixed false positives for
v-bind="object"
syntax invue/attributes-order
rule.
All commits: v7.3.0 -> v7.4.0
v7.3.0
✨ Enhancements
-
#1080 Added
vue/new-line-between-multiline-property
rule that enforces new lines between multi-line properties. -
#1376 Added
vue/no-restricted-props
rule that disallows prop names that you don't want to use. -
#1377 Added
vue/no-restricted-custom-event
rule 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-casing
rule.
⚙️ Updates
- #1365 Upgraded vue-eslint-parser to 7.2.0
-
#1364 Removed
vue/custom-event-name-casing
rule from"plugin:vue/essential"
and"plugin:vue/vue3-essential"
configurations
🐛 Bug Fixes
-
#1335 Fixed false positives when using
is
attr invue/valid-v-bind-sync
rule. -
#1366 Fixed false positives when using v-for variable for v-slot in
vue/valid-v-slot
rule - #1367 Fixed false positives when using
-
#1368 Fixed false negatives when using handler property in
vue/no-arrow-functions-in-watch
rule -
#1369 Fixed false positives for methods whose arguments should not be changed in
vue/v-on-function-call
rule.
All commits: v7.1.0 -> v7.2.0
v7.1.0
✨ Enhancements
New Rules:
-
#1328 Added
vue/block-tag-newline
rule that enforces a line break (or no line break) after opening and before closing block tags. -
#1326 Added
vue/array-bracket-newline
rule appliesarray-bracket-newline
rule to expressions in<template>
.
Other changes in Rules:
-
#1321 Added
ignores
option tovue/custom-event-name-casing
rule. -
#1330 Added
allowModifiers
option tovue/valid-v-slot
rule.
🐛 Bug Fixes
- #1332 Fixed CRLF issues.
-
#1305 Fixed false positives for recursive components in
vue/no-unregistered-components
rule. -
#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/base
config. - Changed
plugin:vue/essential
config.- Same changes as above.
-
#1036 Added
vue/valid-v-bind-sync
rule. -
#1036 Added
vue/valid-v-slot
rule. -
#1036 Added
vue/no-custom-modifiers-on-v-model
rule. -
#1036 Added
vue/no-multiple-template-root
rule. -
#1036 Added
vue/no-v-model-argument
rule. -
#1148 Added
vue/no-mutating-props
rule. -
#1156 Added
vue/no-arrow-functions-in-watch
rule. -
#1166 Added
vue/custom-event-name-casing
rule. -
#1239 Added
vue/no-dupe-v-else-if
rule. -
#1281 Added
vue/no-v-for-template-key
rule.
- Changed
plugin:vue/strongly-recommended
config. - Changed
plugin:vue/recommended
config.
- Changed
-
#1036 Changed
vue/name-property-casing
rule 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-components
rule.- Add options for Vue.js 3.x.
- Add options for Vue.js 2.x.
- Add options for Vue Router.
-
#1107 ROUTER_GUARDS (
beforeRouteEnter
,beforeRouteUpdate
andbeforeRouteLeave
) to afterprovide / inject
(provide / inject
was 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/essential
config. - Changed
plugin:vue/strongly-recommended
config. - Changed
plugin:vue/recommended
config.
New Rulesets:
- Added
plugin:vue/vue3-essential
config. - Added
plugin:vue/vue3-strongly-recommended
config. - Added
plugin:vue/vue3-recommended
config.
New Rules:
for Vue.js 3.x:
-
#1039 Added
vue/no-deprecated-v-bind-sync
rule that reports when deprecated.sync
modifier is used onv-bind
directive. Related to [RFC0005] -
#1043 Added
vue/no-deprecated-filter
rule that reports usage of filters syntax removed in Vue.js 3.0.0+. Related to [RFC0015] -
#1065 Added
vue/no-ref-as-operand
rule that reports cases where a ref is used incorrectly as an operand. Related to [RFC0013] -
#1066 Added
vue/no-setup-props-destructure
rule that reports the destructuring of props passed to setup causing the value to lose reactivity. Related to [RFC0013] -
#1067 Added
vue/no-lifecycle-after-await
rule that reports the lifecycle hooks after await expression. Related to [RFC0013] -
#1079 Added
vue/no-deprecated-v-on-number-modifiers
rule that reports use of deprecatedKeyboardEvent.keyCode
modifier onv-on
directive. Related to [RFC0014] -
#1083 Added
vue/no-deprecated-data-object-declaration
rule that reports use of deprecated object declaration ondata
property. Related to [RFC0019] -
#1097 Added
vue/no-deprecated-events-api
rule that reports use of deprecated$on
,$off
and$once
api (removed in Vue.js v3.0.0+). Related to [RFC0020] -
#1068 Added
vue/no-watch-after-await
rule that reports thewatch()
afterawait
expression. [RFC0013] -
#1099, #1105 Added
vue/require-toggle-inside-transition
rule that reports elements inside<transition>
that do not control the display. Related to [RFC0017] -
#1100 Added
vue/no-deprecated-inline-template
rule that reports deprecatedinline-template
attributes (removed in Vue.js v3.0.0+) Related to [RFC0016] -
#1117 Added
vue/no-deprecated-html-element-is
rule 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-keycodes
rule that reports use of deprecated Vue.config.keyCodes (removed in Vue.js 3.0.0+). Related to [RFC0014] -
#1119 Added
vue/no-deprecated-functional-template
rule that reports deprecated the functional template (removed in Vue.js 3.0.0+). Related to [RFC0007] -
#1124 Added
vue/require-explicit-emits
rule that reports event triggers not declared with the emits option. Related to [RFC0030] -
#1129 Added
vue/return-in-emits-validator
rule enforces that a return statement is present in emits validators. Related to [RFC0030] -
#1130 Added
vue/no-deprecated-v-on-native-modifier
rule that reports use of deprecated.native
modifier onv-on
directive. Related to [RFC0031] -
#1133 Added
vue/no-deprecated-dollar-listeners-api
rule that reports use of deprecated$listeners
. Related to [RFC0031] -
#1177 Added
vue/no-deprecated-dollar-scopedslots-api
rule that reports use of deprecated$scopedSlots
. Related to [RFC0006] -
#1178 Added
vue/require-slots-as-functions
rule enforces the properties of $slots to be used as a function. Related to [RFC0006] -
#1211 Added
vue/no-deprecated-destroyed-lifecycle
rule reports use of deprecateddestroyed
andbeforeDestroy
lifecycle hooks. -
#1253 Added
vue/valid-v-is
rule that reports wrong usage ofv-is
directives. -
#1289 Added
vue/no-v-for-template-key-on-child
rule that reports the key of the<template v-for>
placed on the child elements. -
#1302 Added
vue/no-deprecated-props-default-this
rule that reports the use ofthis
within the props default value factory functions. -
#1303 Added
vue/experimental-script-setup-vars
rule that prevent variables defined in<script setup>
to be marked as undefined.
for Vue.js 2.x:
-
#1038 Added
vue/no-multiple-template-root
rule to template to check for a single root element. This rule has been separated from the previousvue/valid-template-root
rule. -
#1039 Added
vue/no-v-model-argument
rule that does not allow argument to v-model. -
#1039 Added
vue/no-custom-modifiers-on-v-model
rule that reports whenv-model
is used with cus
Configuration
📅 Schedule: 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 this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.