chore(deps): update dependency eslint-plugin-vue to v9 #1958

Merged
konrad merged 2 commits from renovate/eslint-plugin-vue-9.x into main 2022-05-18 20:17:50 +00:00
Member

This PR contains the following updates:

Package Type Update Change
eslint-plugin-vue (source) devDependencies major 8.7.1 -> 9.0.1

Release Notes

vuejs/eslint-plugin-vue

v9.0.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1

v9.0.0

Compare Source

💥 Breaking Changes

Change Vue 3 presets configs
Change Vue 2 preset configs

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
Removed features

Previously deprecated rules are removed completely:

Previously deprecated internal util methods are removed completely:

  • getComponentProps: use getComponentPropsFromOptions instead
  • getComponentEmits: use getComponentEmitsFromOptions instead

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v9.0.0


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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-vue](https://eslint.vuejs.org) ([source](https://github.com/vuejs/eslint-plugin-vue)) | devDependencies | major | [`8.7.1` -> `9.0.1`](https://renovatebot.com/diffs/npm/eslint-plugin-vue/8.7.1/9.0.1) | --- ### Release Notes <details> <summary>vuejs/eslint-plugin-vue</summary> ### [`v9.0.1`](https://github.com/vuejs/eslint-plugin-vue/releases/v9.0.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1) #### 🐛 Bug Fixes - [#&#8203;1896](https://github.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://github.com/vuejs/eslint-plugin-vue/releases/v9.0.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.1...v9.0.0) #### 💥 Breaking Changes - [#&#8203;1847](https://github.com/vuejs/eslint-plugin-vue/pull/1847) Drop support for Node.js v12. - [#&#8203;1846](https://github.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`. - [#&#8203;1883](https://github.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. - [#&#8203;1848](https://github.com/vuejs/eslint-plugin-vue/pull/1848), [#&#8203;1892](https://github.com/vuejs/eslint-plugin-vue/pull/1892) Change presets configs and remove unused internal methods. *(see below)* - [#&#8203;1849](https://github.com/vuejs/eslint-plugin-vue/pull/1849) Upgrade [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) to v9. *(see below)* - [#&#8203;1881](https://github.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 [@&#8203;vue/composition-api](https://github.com/vuejs/composition-api) and [unplugin-vue2-script-setup](https://github.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://github.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://github.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 - [#&#8203;1874](https://github.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. - [#&#8203;1885](https://github.com/vuejs/eslint-plugin-vue/pull/1885) Support `<script setup>` in [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule. - [#&#8203;1851](https://github.com/vuejs/eslint-plugin-vue/pull/1851), [#&#8203;1892](https://github.com/vuejs/eslint-plugin-vue/pull/1892) Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule. #### 🐛 Bug Fixes - [#&#8203;1861](https://github.com/vuejs/eslint-plugin-vue/pull/1861) Fix wrong behavior of [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) rule when there are multiple `<script>` tags. - [#&#8203;1883](https://github.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. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v9.0.0 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate added the
dependencies
label 2022-05-18 04:02:54 +00:00
renovate force-pushed renovate/eslint-plugin-vue-9.x from 4f983b477b to 10ac1af0d9 2022-05-18 14:03:16 +00:00 Compare
konrad added 1 commit 2022-05-18 20:09:31 +00:00
continuous-integration/drone/pr Build is passing Details
8176a82832
fix: lint
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://1958-renovate-eslint-plugin-vue-9-x--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://1958-renovate-eslint-plugin-vue-9-x--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
konrad merged commit d749ec85dc into main 2022-05-18 20:17:50 +00:00
konrad deleted branch renovate/eslint-plugin-vue-9.x 2022-05-18 20:17:50 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.