ant-design-vue
ant-design-vue copied to clipboard
chore(deps): update dependency eslint-plugin-vue to v9
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-vue (source) | ^8.1.1 -> ^9.0.0 |
Release Notes
vuejs/eslint-plugin-vue
v9.5.1
π Bug Fixes
- #β1976 Fixed false positives for
<script setup>with TypeScript invue/no-undef-componentsrule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.0...v9.5.1
v9.5.0
β¨ Enhancements
- #β1965 Added
vue/no-ref-object-destructurerule that reports the destructuring of ref objects causing the value to lose reactivity. - #β1967 Changed
vue/no-undef-componentsrule to report when type-only imports are used. - #β1966 Added
vue/padding-line-between-tagsrule that requires or disallows newlines between sibling tags in template. - #β1968 Added
vue/define-emits-declarationrule that enforces the declaration style ofdefineEmits. - #β1968 Added
vue/define-props-declarationrule that enforces the declaration style ofdefineProps.
βοΈ Updates
- #β1955 Changed
vue/order-in-componentsrule to be auto-fixable even when usingPropType.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.4.0...v9.5.0
Thanks @βdev1437, @βAmorites, @βacupofspirt for your contributions!
v9.4.0
π Bug Fixes
- #β1942 Fixed false negatives for delete operation in
vue/no-mutating-propsrule
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.3.0...v9.4.0
v9.3.0
βοΈ Updates
- #β1934 Added support for
<script setup>tovue/component-name-in-template-casingrule.
π Bug Fixes
- #β1937 Fixed false negatives for template literals in
vue/custom-event-name-casing,vue/no-restricted-custom-event, andvue/require-explicit-emitsrules.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.2.0...v9.3.0
v9.2.0
βοΈ Updates
- #β1917 Added support for Vue 2.7 to
vue/no-unsupported-featuresrule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.1...v9.2.0
v9.1.1
π Bug Fixes
- #β1909 Fixed false negatives in
vue/no-unused-componentsrule
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.0...v9.1.1
v9.1.0
π Bug Fixes
- #β1907 Fixed
vue/prefer-import-from-vuerule to skip side-effect imports in.d.tsfiles.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0
v9.0.1
π Bug Fixes
- #β1896 Fixed false positive for script setup in
vue/no-expose-after-awaitrule
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1
v9.0.0
π₯ Breaking Changes
- #β1847 Drop support for Node.js v12.
- #β1846 Change default casing of
vue/custom-event-name-casingrule tocamelCase. - #β1883 Potentially breaking bug fix: Enable
vue/html-closing-bracket-spacingandvue/html-closing-bracket-newlinerules for top-level tags. - #β1848, #β1892 Change presets configs and remove unused internal methods. (see below)
- #β1849 Upgrade vue-eslint-parser to v9. (see below)
- #β1881 Remove deprecated rules. (see below)
Change Vue 3 presets configs
- Change
plugin:vue/vue3-essentialconfig:- Add
vue/no-child-contentrule - Add
vue/no-expose-after-awaitrule - Add
vue/no-reserved-component-namesrule - Add
vue/no-use-computed-property-like-methodrule - Add
vue/no-v-text-v-html-on-componentrule - Add
vue/prefer-import-from-vuerule - Add
vue/valid-attribute-namerule
- Add
- Change
plugin:vue/vue3-strongly-recommendedconfig:- Same changes as above
- Change
plugin:vue/vue3-recommendedconfig:- Same changes as above
Change Vue 2 preset configs
- Change
plugin:vue/essentialconfig:- Add
vue/no-child-contentrule - Add
vue/no-reserved-component-namesrule - Add
vue/no-use-computed-property-like-methodrule - Add
vue/no-v-text-v-html-on-componentrule - Add
vue/valid-attribute-namerule - Add
vue/valid-model-definitionrule - Add
vue/no-export-in-script-setuprule * - Add
vue/no-ref-as-operandrule * - Add
vue/no-setup-props-destructurerule * - Add
vue/return-in-emits-validatorrule * - Add
vue/valid-define-emitsrule * - Add
vue/valid-define-propsrule *
- Add
- Change
plugin:vue/strongly-recommendedconfig:- Same changes as above
- Change
plugin:vue/recommendedconfig:- Same changes as above
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-keysrule is now deprecated, as it's renamed tovue/valid-model-definitionvue/script-setup-uses-varsrule is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9vue/setup-compiler-macrosenvironment is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9
Removed features
Previously deprecated rules are removed completely:
vue/experimental-script-setup-varsrule (deprecated in v7.13.0): not needed anymorevue/name-property-casingrule (deprecated in v7.0.0): usevue/component-definition-name-casinginsteadvue/no-confusing-v-for-v-ifrule (deprecated in v5.0.0): usevue/no-use-v-if-with-v-forinsteadvue/no-unregistered-componentsrule (deprecated in v8.4.0): usevue/no-undef-componentsinstead
Previously deprecated internal util methods are removed completely:
getComponentProps: usegetComponentPropsFromOptionsinsteadgetComponentEmits: usegetComponentEmitsFromOptionsinstead
β¨ Enhancements
- #β1874 Make
vue/match-component-file-namerule fixable via editor suggestions. - #β1885 Support
<script setup>invue/no-expose-after-awaitrule. - #β1851, #β1892 Add
vue/valid-attribute-namerule.
π Bug Fixes
- #β1861 Fix wrong behavior of
vue/define-macros-orderrule when there are multiple<script>tags. - #β1883 Potentially breaking bug fix: Enable
vue/html-closing-bracket-spacingandvue/html-closing-bracket-newlinerules for top-level tags.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v9.0.0
Configuration
π Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.