[Snyk] Upgrade eslint-plugin-vue from 6.2.2 to 9.3.0 #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade eslint-plugin-vue from 6.2.2 to 9.3.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: eslint-plugin-vue
⚙️ Updates
<script setup>
tovue/component-name-in-template-casing
rule.🐛 Bug Fixes
vue/custom-event-name-casing
,vue/no-restricted-custom-event
, andvue/require-explicit-emits
rules.Full Changelog: v9.2.0...v9.3.0
⚙️ Updates
vue/no-unsupported-features
rule.Full Changelog: v9.1.1...v9.2.0
🐛 Bug Fixes
vue/no-unused-components
ruleFull Changelog: v9.1.0...v9.1.1
🐛 Bug Fixes
vue/prefer-import-from-vue
rule to skip side-effect imports in.d.ts
files.Full Changelog: v9.0.1...v9.1.0
🐛 Bug Fixes
vue/no-expose-after-await
ruleFull Changelog: v9.0.0...v9.0.1
💥 Breaking Changes
vue/custom-event-name-casing
rule tocamelCase
.vue/html-closing-bracket-spacing
andvue/html-closing-bracket-newline
rules for top-level tags.Change Vue 3 presets configs
plugin:vue/vue3-essential
config:vue/no-child-content
rulevue/no-expose-after-await
rulevue/no-reserved-component-names
rulevue/no-use-computed-property-like-method
rulevue/no-v-text-v-html-on-component
rulevue/prefer-import-from-vue
rulevue/valid-attribute-name
ruleplugin:vue/vue3-strongly-recommended
config:plugin:vue/vue3-recommended
config:Change Vue 2 preset configs
plugin:vue/essential
config:vue/no-child-content
rulevue/no-reserved-component-names
rulevue/no-use-computed-property-like-method
rulevue/no-v-text-v-html-on-component
rulevue/valid-attribute-name
rulevue/valid-model-definition
rulevue/no-export-in-script-setup
rule *vue/no-ref-as-operand
rule *vue/no-setup-props-destructure
rule *vue/return-in-emits-validator
rule *vue/valid-define-emits
rule *vue/valid-define-props
rule *plugin:vue/strongly-recommended
config:plugin:vue/recommended
config:Note: The rules marked with * are now included in the
plugin:vue/essential
config because @ vue/composition-api and unplugin-vue2-script-setup add (limited) support for these Vue 3 features in Vue 2. If you don't use those libraries, enabling these rules shouldn't affect you.Deprecated features
vue/no-invalid-model-keys
rule is now deprecated, as it's renamed tovue/valid-model-definition
vue/script-setup-uses-vars
rule is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9vue/setup-compiler-macros
environment is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9Removed features
Previously deprecated rules are removed completely:
vue/experimental-script-setup-vars
rule (deprecated in v7.13.0): not needed anymorevue/name-property-casing
rule (deprecated in v7.0.0): usevue/component-definition-name-casing
insteadvue/no-confusing-v-for-v-if
rule (deprecated in v5.0.0): usevue/no-use-v-if-with-v-for
insteadvue/no-unregistered-components
rule (deprecated in v8.4.0): usevue/no-undef-components
insteadPreviously deprecated internal util methods are removed completely:
getComponentProps
: usegetComponentPropsFromOptions
insteadgetComponentEmits
: usegetComponentEmitsFromOptions
instead✨ Enhancements
vue/match-component-file-name
rule fixable via editor suggestions.<script setup>
invue/no-expose-after-await
rule.vue/valid-attribute-name
rule.🐛 Bug Fixes
vue/define-macros-order
rule when there are multiple<script>
tags.vue/html-closing-bracket-spacing
andvue/html-closing-bracket-newline
rules for top-level tags.Full Changelog: v8.7.0...v9.0.0
🐛 Bug Fixes
vue/define-macros-order
rule.Full Changelog: v8.7.0...v8.7.1
✨ Enhancements
vue/component-tags-order
rule.vue/match-component-import-name
rule that requires the registered component name to match the imported component name.vue/define-macros-order
rule that enforces the order ofdefineEmits
anddefineProps
compiler macros.🐛 Bug Fixes
<script setup>
invue/multi-word-component-names
rule.<script setup>
with TS literal type invue/require-valid-default-prop
rule.Full Changelog: v8.6.0...v8.7.0
✨ Enhancements
vue/component-tags-order
rule auto-fixable.vue/prefer-prop-type-boolean-first
rule that enforces thatBoolean
comes first in component prop typesvue/no-restricted-html-elements
rule that disallows specific HTML elements.🐛 Bug Fixes
<slot>
invue/attribute-hyphenation
rule.Full Changelog: v8.5.0...v8.6.0
Read more
Commit messages
Package name: eslint-plugin-vue
import.meta.{filename,dirname}
is undefined ineslint.config.mjs
microsoft/vscode-eslint#1851)eslint.packageManager
deprecated but error message says to use it microsoft/vscode-eslint#1863)eslint.execArgv
Configuration is Not Working microsoft/vscode-eslint#1881)Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs