issues
search
JustArchiNET
/
ASF-ui
The official web interface for ASF
Apache License 2.0
271
stars
38
forks
source link
Update dependency eslint-plugin-vue to v9
#1569
Closed
renovate[bot]
closed
2 years ago
renovate[bot]
commented
2 years ago
This PR contains the following updates:
Package
Change
Age
Adoption
Passing
Confidence
eslint-plugin-vue
(
source
)
7.20.0
->
9.1.0
Release Notes
vuejs/eslint-plugin-vue
### [`v9.1.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/tag/v9.1.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0) #### š Bug Fixes - [#1907](https://togithub.com/vuejs/eslint-plugin-vue/issues/1907) Fixed [`vue/prefer-import-from-vue`](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) rule to skip side-effect imports in `.d.ts` files. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0 ### [`v9.0.1`](https://togithub.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.1) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1) #### š Bug Fixes - [#1896](https://togithub.com/vuejs/eslint-plugin-vue/issues/1896) Fixed false positive for script setup in [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1 ### [`v9.0.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v8.7.1...v9.0.0) #### š„ Breaking Changes - [#1847](https://togithub.com/vuejs/eslint-plugin-vue/pull/1847) Drop support for Node.js v12. - [#1846](https://togithub.com/vuejs/eslint-plugin-vue/pull/1846) Change default casing of [`vue/custom-event-name-casing`](https://eslint.vuejs.org/rules/custom-event-name-casing.html) rule to `camelCase`. - [#1883](https://togithub.com/vuejs/eslint-plugin-vue/pull/1883) Potentially breaking bug fix: Enable [`vue/html-closing-bracket-spacing`](https://eslint.vuejs.org/rules/html-closing-bracket-spacing.html) and [`vue/html-closing-bracket-newline`](https://eslint.vuejs.org/rules/html-closing-bracket-newline.html) rules for top-level tags. - [#1848](https://togithub.com/vuejs/eslint-plugin-vue/pull/1848), [#1892](https://togithub.com/vuejs/eslint-plugin-vue/pull/1892) Change presets configs and remove unused internal methods. *(see below)* - [#1849](https://togithub.com/vuejs/eslint-plugin-vue/pull/1849) Upgrade [vue-eslint-parser](https://togithub.com/vuejs/vue-eslint-parser) to v9. *(see below)* - [#1881](https://togithub.com/vuejs/eslint-plugin-vue/pull/1881) Remove deprecated rules. *(see below)* ##### Change Vue 3 presets configs - Change `plugin:vue/vue3-essential` config: - Add [`vue/no-child-content`](https://eslint.vuejs.org/rules/no-child-content.html) rule - Add [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule - Add [`vue/no-reserved-component-names`](https://eslint.vuejs.org/rules/no-reserved-component-names.html) rule - Add [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule - Add [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule - Add [`vue/prefer-import-from-vue`](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) rule - Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule - Change `plugin:vue/vue3-strongly-recommended` config: - Same changes as above - Change `plugin:vue/vue3-recommended` config: - Same changes as above ##### Change Vue 2 preset configs - Change `plugin:vue/essential` config: - Add [`vue/no-child-content`](https://eslint.vuejs.org/rules/no-child-content.html) rule - Add [`vue/no-reserved-component-names`](https://eslint.vuejs.org/rules/no-reserved-component-names.html) rule - Add [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule - Add [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule - Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule - Add [`vue/valid-model-definition`](https://eslint.vuejs.org/rules/valid-model-definition.html) rule - Add [`vue/no-export-in-script-setup`](https://eslint.vuejs.org/rules/no-export-in-script-setup.html) rule \* - Add [`vue/no-ref-as-operand`](https://eslint.vuejs.org/rules/no-ref-as-operand.html) rule \* - Add [`vue/no-setup-props-destructure`](https://eslint.vuejs.org/rules/no-setup-props-destructure.html) rule \* - Add [`vue/return-in-emits-validator`](https://eslint.vuejs.org/rules/return-in-emits-validator.html) rule \* - Add [`vue/valid-define-emits`](https://eslint.vuejs.org/rules/valid-define-emits.html) rule \* - Add [`vue/valid-define-props`](https://eslint.vuejs.org/rules/valid-define-props.html) rule \* - Change `plugin:vue/strongly-recommended` config: - Same changes as above - Change `plugin:vue/recommended` config: - Same changes as above *Note:* The rules marked with \* are now included in the `plugin:vue/essential` config because [@vue/composition-api](https://togithub.com/vuejs/composition-api) and [unplugin-vue2-script-setup](https://togithub.com/antfu/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`](https://eslint.vuejs.org/rules/no-invalid-model-keys.html) rule is now deprecated, as it's renamed to [`vue/valid-model-definition`](https://eslint.vuejs.org/rules/valid-model-definition.html) - [`vue/script-setup-uses-vars`](https://eslint.vuejs.org/rules/script-setup-uses-vars.html) rule is now deprecated, as it's no longer needed with the upgrade to [vue-eslint-parser](https://togithub.com/vuejs/vue-eslint-parser) to v9 - `vue/setup-compiler-macros` environment is now deprecated, as it's no longer needed with the upgrade to [vue-eslint-parser](https://togithub.com/vuejs/vue-eslint-parser) to v9 ##### Removed features Previously deprecated rules are removed completely: - [`vue/experimental-script-setup-vars`](https://eslint.vuejs.org/rules/experimental-script-setup-vars.html) rule (deprecated in v7.13.0): not needed anymore - [`vue/name-property-casing`](https://eslint.vuejs.org/rules/name-property-casing.html) rule (deprecated in v7.0.0): use [`vue/component-definition-name-casing`](https://eslint.vuejs.org/rules/component-definition-name-casing.html) instead - [`vue/no-confusing-v-for-v-if`](https://eslint.vuejs.org/rules/no-confusing-v-for-v-if.html) rule (deprecated in v5.0.0): use [`vue/no-use-v-if-with-v-for`](https://eslint.vuejs.org/rules/no-use-v-if-with-v-for.html) instead - [`vue/no-unregistered-components`](https://eslint.vuejs.org/rules/no-unregistered-components.html) rule (deprecated in v8.4.0): use [`vue/no-undef-components`](https://eslint.vuejs.org/rules/no-undef-components.html) instead Previously deprecated internal util methods are removed completely: - `getComponentProps`: use `getComponentPropsFromOptions` instead - `getComponentEmits`: use `getComponentEmitsFromOptions` instead #### āØ Enhancements - [#1874](https://togithub.com/vuejs/eslint-plugin-vue/pull/1874) Make [`vue/match-component-file-name`](https://eslint.vuejs.org/rules/match-component-file-name.html) rule fixable via editor suggestions. - [#1885](https://togithub.com/vuejs/eslint-plugin-vue/pull/1885) Support ` Githubissues.
Githubissues is a development platform for aggregating issues.
This PR contains the following updates:
7.20.0
->9.1.0
Release Notes
vuejs/eslint-plugin-vue
### [`v9.1.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/tag/v9.1.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0) #### š Bug Fixes - [#1907](https://togithub.com/vuejs/eslint-plugin-vue/issues/1907) Fixed [`vue/prefer-import-from-vue`](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) rule to skip side-effect imports in `.d.ts` files. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0 ### [`v9.0.1`](https://togithub.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.1) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1) #### š Bug Fixes - [#1896](https://togithub.com/vuejs/eslint-plugin-vue/issues/1896) Fixed false positive for script setup in [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1 ### [`v9.0.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v8.7.1...v9.0.0) #### š„ Breaking Changes - [#1847](https://togithub.com/vuejs/eslint-plugin-vue/pull/1847) Drop support for Node.js v12. - [#1846](https://togithub.com/vuejs/eslint-plugin-vue/pull/1846) Change default casing of [`vue/custom-event-name-casing`](https://eslint.vuejs.org/rules/custom-event-name-casing.html) rule to `camelCase`. - [#1883](https://togithub.com/vuejs/eslint-plugin-vue/pull/1883) Potentially breaking bug fix: Enable [`vue/html-closing-bracket-spacing`](https://eslint.vuejs.org/rules/html-closing-bracket-spacing.html) and [`vue/html-closing-bracket-newline`](https://eslint.vuejs.org/rules/html-closing-bracket-newline.html) rules for top-level tags. - [#1848](https://togithub.com/vuejs/eslint-plugin-vue/pull/1848), [#1892](https://togithub.com/vuejs/eslint-plugin-vue/pull/1892) Change presets configs and remove unused internal methods. *(see below)* - [#1849](https://togithub.com/vuejs/eslint-plugin-vue/pull/1849) Upgrade [vue-eslint-parser](https://togithub.com/vuejs/vue-eslint-parser) to v9. *(see below)* - [#1881](https://togithub.com/vuejs/eslint-plugin-vue/pull/1881) Remove deprecated rules. *(see below)* ##### Change Vue 3 presets configs - Change `plugin:vue/vue3-essential` config: - Add [`vue/no-child-content`](https://eslint.vuejs.org/rules/no-child-content.html) rule - Add [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule - Add [`vue/no-reserved-component-names`](https://eslint.vuejs.org/rules/no-reserved-component-names.html) rule - Add [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule - Add [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule - Add [`vue/prefer-import-from-vue`](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) rule - Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule - Change `plugin:vue/vue3-strongly-recommended` config: - Same changes as above - Change `plugin:vue/vue3-recommended` config: - Same changes as above ##### Change Vue 2 preset configs - Change `plugin:vue/essential` config: - Add [`vue/no-child-content`](https://eslint.vuejs.org/rules/no-child-content.html) rule - Add [`vue/no-reserved-component-names`](https://eslint.vuejs.org/rules/no-reserved-component-names.html) rule - Add [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule - Add [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule - Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule - Add [`vue/valid-model-definition`](https://eslint.vuejs.org/rules/valid-model-definition.html) rule - Add [`vue/no-export-in-script-setup`](https://eslint.vuejs.org/rules/no-export-in-script-setup.html) rule \* - Add [`vue/no-ref-as-operand`](https://eslint.vuejs.org/rules/no-ref-as-operand.html) rule \* - Add [`vue/no-setup-props-destructure`](https://eslint.vuejs.org/rules/no-setup-props-destructure.html) rule \* - Add [`vue/return-in-emits-validator`](https://eslint.vuejs.org/rules/return-in-emits-validator.html) rule \* - Add [`vue/valid-define-emits`](https://eslint.vuejs.org/rules/valid-define-emits.html) rule \* - Add [`vue/valid-define-props`](https://eslint.vuejs.org/rules/valid-define-props.html) rule \* - Change `plugin:vue/strongly-recommended` config: - Same changes as above - Change `plugin:vue/recommended` config: - Same changes as above *Note:* The rules marked with \* are now included in the `plugin:vue/essential` config because [@vue/composition-api](https://togithub.com/vuejs/composition-api) and [unplugin-vue2-script-setup](https://togithub.com/antfu/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`](https://eslint.vuejs.org/rules/no-invalid-model-keys.html) rule is now deprecated, as it's renamed to [`vue/valid-model-definition`](https://eslint.vuejs.org/rules/valid-model-definition.html) - [`vue/script-setup-uses-vars`](https://eslint.vuejs.org/rules/script-setup-uses-vars.html) rule is now deprecated, as it's no longer needed with the upgrade to [vue-eslint-parser](https://togithub.com/vuejs/vue-eslint-parser) to v9 - `vue/setup-compiler-macros` environment is now deprecated, as it's no longer needed with the upgrade to [vue-eslint-parser](https://togithub.com/vuejs/vue-eslint-parser) to v9 ##### Removed features Previously deprecated rules are removed completely: - [`vue/experimental-script-setup-vars`](https://eslint.vuejs.org/rules/experimental-script-setup-vars.html) rule (deprecated in v7.13.0): not needed anymore - [`vue/name-property-casing`](https://eslint.vuejs.org/rules/name-property-casing.html) rule (deprecated in v7.0.0): use [`vue/component-definition-name-casing`](https://eslint.vuejs.org/rules/component-definition-name-casing.html) instead - [`vue/no-confusing-v-for-v-if`](https://eslint.vuejs.org/rules/no-confusing-v-for-v-if.html) rule (deprecated in v5.0.0): use [`vue/no-use-v-if-with-v-for`](https://eslint.vuejs.org/rules/no-use-v-if-with-v-for.html) instead - [`vue/no-unregistered-components`](https://eslint.vuejs.org/rules/no-unregistered-components.html) rule (deprecated in v8.4.0): use [`vue/no-undef-components`](https://eslint.vuejs.org/rules/no-undef-components.html) instead Previously deprecated internal util methods are removed completely: - `getComponentProps`: use `getComponentPropsFromOptions` instead - `getComponentEmits`: use `getComponentEmitsFromOptions` instead #### āØ Enhancements - [#1874](https://togithub.com/vuejs/eslint-plugin-vue/pull/1874) Make [`vue/match-component-file-name`](https://eslint.vuejs.org/rules/match-component-file-name.html) rule fixable via editor suggestions. - [#1885](https://togithub.com/vuejs/eslint-plugin-vue/pull/1885) Support ` Githubissues.