diff --git a/docs/rules/component-tags-order.md b/docs/rules/component-tags-order.md index 0826be968..a5037cdee 100644 --- a/docs/rules/component-tags-order.md +++ b/docs/rules/component-tags-order.md @@ -10,8 +10,7 @@ since: v6.1.0 > enforce order of component top-level elements -- :no_entry_sign: This rule was **deprecated** and replaced by [vue/block-order](block-order.md) rule. -- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. +- :no_entry: This rule was **removed** in eslint-plugin-vue v10.0.0 and replaced by [vue/block-order](block-order.md) rule. ## :book: Rule Details diff --git a/docs/rules/index.md b/docs/rules/index.md index 8bac4aaa9..9b2e94ea5 100644 --- a/docs/rules/index.md +++ b/docs/rules/index.md @@ -341,30 +341,22 @@ The following rules extend the rules provided by ESLint itself and apply them to -## Deprecated - -- :no_entry_sign: We're going to remove deprecated rules in the next major release. Please migrate to successor/new rules. -- :innocent: We don't fix bugs which are in deprecated rules since we don't have enough resources. - -| Rule ID | Replaced by | -|:--------|:------------| -| [vue/component-tags-order] | [vue/block-order] | -| [vue/no-invalid-model-keys] | [vue/valid-model-definition] | -| [vue/no-ref-object-destructure] | [vue/no-ref-object-reactivity-loss] | -| [vue/no-setup-props-destructure] | [vue/no-setup-props-reactivity-loss] | -| [vue/script-setup-uses-vars] | (no replacement) | -| [vue/v-on-function-call] | [vue/v-on-handler-style] | - ## Removed - :no_entry: These rules have been removed in a previous major release, after they have been deprecated for a while. | Rule ID | Replaced by | Deprecated in version | Removed in version | |:--------|:------------|:-----------------------|:-------------------| +| [vue/component-tags-order] | [vue/block-order] | [v9.16.0] | [v10.0.0] | | [vue/experimental-script-setup-vars] | (no replacement) | [v7.13.0] | [v9.0.0] | | [vue/name-property-casing] | [vue/component-definition-name-casing] | [v7.0.0] | [v9.0.0] | | [vue/no-confusing-v-for-v-if] | [vue/no-use-v-if-with-v-for] | [v5.0.0] | [v9.0.0] | +| [vue/no-invalid-model-keys] | [vue/valid-model-definition] | [v9.0.0] | [v10.0.0] | +| [vue/no-ref-object-destructure] | [vue/no-ref-object-reactivity-loss] | [v9.17.0] | [v10.0.0] | +| [vue/no-setup-props-destructure] | [vue/no-setup-props-reactivity-loss] | [v9.17.0] | [v10.0.0] | | [vue/no-unregistered-components] | [vue/no-undef-components] | [v8.4.0] | [v9.0.0] | +| [vue/script-setup-uses-vars] | (no replacement) | [v9.0.0] | [v10.0.0] | +| [vue/v-on-function-call] | [vue/v-on-handler-style] | [v9.7.0] | [v10.0.0] | @@ -388,7 +380,6 @@ The following rules extend the rules provided by ESLint itself and apply them to [vue/component-definition-name-casing]: ./component-definition-name-casing.md [vue/component-name-in-template-casing]: ./component-name-in-template-casing.md [vue/component-options-name-casing]: ./component-options-name-casing.md -[vue/component-tags-order]: ./component-tags-order.md [vue/custom-event-name-casing]: ./custom-event-name-casing.md [vue/define-emits-declaration]: ./define-emits-declaration.md [vue/define-macros-order]: ./define-macros-order.md @@ -464,7 +455,6 @@ The following rules extend the rules provided by ESLint itself and apply them to [vue/no-export-in-script-setup]: ./no-export-in-script-setup.md [vue/no-expose-after-await]: ./no-expose-after-await.md [vue/no-extra-parens]: ./no-extra-parens.md -[vue/no-invalid-model-keys]: ./no-invalid-model-keys.md [vue/no-irregular-whitespace]: ./no-irregular-whitespace.md [vue/no-lifecycle-after-await]: ./no-lifecycle-after-await.md [vue/no-lone-template]: ./no-lone-template.md @@ -477,7 +467,6 @@ The following rules extend the rules provided by ESLint itself and apply them to [vue/no-parsing-error]: ./no-parsing-error.md [vue/no-potential-component-option-typo]: ./no-potential-component-option-typo.md [vue/no-ref-as-operand]: ./no-ref-as-operand.md -[vue/no-ref-object-destructure]: ./no-ref-object-destructure.md [vue/no-ref-object-reactivity-loss]: ./no-ref-object-reactivity-loss.md [vue/no-required-prop-with-default]: ./no-required-prop-with-default.md [vue/no-reserved-component-names]: ./no-reserved-component-names.md @@ -496,7 +485,6 @@ The following rules extend the rules provided by ESLint itself and apply them to [vue/no-restricted-v-bind]: ./no-restricted-v-bind.md [vue/no-restricted-v-on]: ./no-restricted-v-on.md [vue/no-root-v-if]: ./no-root-v-if.md -[vue/no-setup-props-destructure]: ./no-setup-props-destructure.md [vue/no-setup-props-reactivity-loss]: ./no-setup-props-reactivity-loss.md [vue/no-shared-component-data]: ./no-shared-component-data.md [vue/no-side-effects-in-computed-properties]: ./no-side-effects-in-computed-properties.md @@ -573,7 +561,6 @@ The following rules extend the rules provided by ESLint itself and apply them to [vue/return-in-computed-property]: ./return-in-computed-property.md [vue/return-in-emits-validator]: ./return-in-emits-validator.md [vue/script-indent]: ./script-indent.md -[vue/script-setup-uses-vars]: ./script-setup-uses-vars.md [vue/singleline-html-element-content-newline]: ./singleline-html-element-content-newline.md [vue/slot-name-casing]: ./slot-name-casing.md [vue/sort-keys]: ./sort-keys.md @@ -588,7 +575,6 @@ The following rules extend the rules provided by ESLint itself and apply them to [vue/v-for-delimiter-style]: ./v-for-delimiter-style.md [vue/v-if-else-key]: ./v-if-else-key.md [vue/v-on-event-hyphenation]: ./v-on-event-hyphenation.md -[vue/v-on-function-call]: ./v-on-function-call.md [vue/v-on-handler-style]: ./v-on-handler-style.md [vue/v-on-style]: ./v-on-style.md [vue/v-slot-style]: ./v-slot-style.md @@ -619,15 +605,25 @@ The following rules extend the rules provided by ESLint itself and apply them to +[vue/component-tags-order]: ./component-tags-order.md [vue/experimental-script-setup-vars]: ./experimental-script-setup-vars.md [vue/name-property-casing]: ./name-property-casing.md [vue/no-confusing-v-for-v-if]: ./no-confusing-v-for-v-if.md +[vue/no-invalid-model-keys]: ./no-invalid-model-keys.md +[vue/no-ref-object-destructure]: ./no-ref-object-destructure.md +[vue/no-setup-props-destructure]: ./no-setup-props-destructure.md [vue/no-unregistered-components]: ./no-unregistered-components.md +[vue/script-setup-uses-vars]: ./script-setup-uses-vars.md +[vue/v-on-function-call]: ./v-on-function-call.md +[v10.0.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v10.0.0 [v5.0.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v5.0.0 [v7.0.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v7.0.0 [v7.13.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v7.13.0 [v8.4.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.4.0 [v9.0.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.0 +[v9.16.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.16.0 +[v9.17.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.17.0 +[v9.7.0]: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.7.0 diff --git a/docs/rules/no-invalid-model-keys.md b/docs/rules/no-invalid-model-keys.md index 33eb74dc8..e93c79db4 100644 --- a/docs/rules/no-invalid-model-keys.md +++ b/docs/rules/no-invalid-model-keys.md @@ -10,7 +10,7 @@ since: v7.9.0 > require valid keys in model option -- :no_entry_sign: This rule was **deprecated** and replaced by [vue/valid-model-definition](valid-model-definition.md) rule. +- :no_entry: This rule was **removed** in eslint-plugin-vue v10.0.0 and replaced by [vue/valid-model-definition](valid-model-definition.md) rule. ## :book: Rule Details diff --git a/docs/rules/no-ref-object-destructure.md b/docs/rules/no-ref-object-destructure.md index ea848c63e..8ea5247a1 100644 --- a/docs/rules/no-ref-object-destructure.md +++ b/docs/rules/no-ref-object-destructure.md @@ -10,7 +10,7 @@ since: v9.5.0 > disallow usages of ref objects that can lead to loss of reactivity -- :no_entry_sign: This rule was **deprecated** and replaced by [vue/no-ref-object-reactivity-loss](no-ref-object-reactivity-loss.md) rule. +- :no_entry: This rule was **removed** in eslint-plugin-vue v10.0.0 and replaced by [vue/no-ref-object-reactivity-loss](no-ref-object-reactivity-loss.md) rule. ## :book: Rule Details diff --git a/docs/rules/no-setup-props-destructure.md b/docs/rules/no-setup-props-destructure.md index 0ecb01f6f..66fa784c7 100644 --- a/docs/rules/no-setup-props-destructure.md +++ b/docs/rules/no-setup-props-destructure.md @@ -10,7 +10,7 @@ since: v7.0.0 > disallow usages that lose the reactivity of `props` passed to `setup` -- :no_entry_sign: This rule was **deprecated** and replaced by [vue/no-setup-props-reactivity-loss](no-setup-props-reactivity-loss.md) rule. +- :no_entry: This rule was **removed** in eslint-plugin-vue v10.0.0 and replaced by [vue/no-setup-props-reactivity-loss](no-setup-props-reactivity-loss.md) rule. ## :book: Rule Details diff --git a/docs/rules/script-setup-uses-vars.md b/docs/rules/script-setup-uses-vars.md index 3a8dc36e5..7f0eb15f7 100644 --- a/docs/rules/script-setup-uses-vars.md +++ b/docs/rules/script-setup-uses-vars.md @@ -10,7 +10,7 @@ since: v7.13.0 > prevent `', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - ` - - - - - - `, - ` - - - - - - `, - - // order - { - code: '', - output: null, - options: [{ order: ['script', 'template', 'style'] }] - }, - { - code: '', - output: null, - options: [{ order: ['template', 'script', 'style'] }] - }, - { - code: '', - output: null, - options: [{ order: ['style', 'template', 'script'] }] - }, - { - code: '', - output: null, - options: [{ order: ['template', 'docs', 'script', 'style'] }] - }, - { - code: '', - output: null, - options: [{ order: ['template', 'script', 'style'] }] - }, - { - code: '
text

', - output: null, - options: [{ order: ['docs', 'script', 'template', 'style'] }] - }, - { - code: '', - output: null, - options: [ - { order: ['script[setup]', 'script:not([setup])', 'template', 'style'] } - ] - }, - { - code: '', - output: null, - options: [ - { - order: [['script[setup]', 'script:not([setup])', 'template'], 'style'] - } - ] - }, - { - code: '', - output: null, - options: [{ order: ['script', 'template', 'style'] }] - }, - { - code: '', - output: null, - options: [{ order: [['script', 'template'], 'style'] }] - }, - { - code: '', - output: null, - options: [ - { order: ['script:not([setup])', 'script[setup]', 'template', 'style'] } - ] - }, - { - code: '', - output: null, - options: [ - { - order: [['script:not([setup])', 'script[setup]', 'template'], 'style'] - } - ] - }, - { - code: '', - output: null, - options: [ - { - order: [ - ['script:not([setup])', 'script[setup]', 'template'], - 'style[scoped]', - 'style:not([scoped])', - 'i18n:not([locale=en])', - 'i18n:not([locale=ja])' - ] - } - ] - }, - { - code: '', - output: null, - options: [ - { - order: [ - 'template', - 'script:not([setup])', - 'script[setup]', - 'style[scoped]', - 'style:not([scoped])', - 'i18n[locale=en]', - 'i18n[locale=ja]' - ] - } - ] - }, - { - code: '', - output: null, - options: [{ order: [['docs', 'script', 'template'], 'style'] }] - }, - { - code: '', - output: null, - options: [{ order: ['i18n[locale=en]', 'i18n[locale=ja]'] }] - }, - { - code: '', - output: null, - options: [{ order: ['style:not([scoped])', 'style[scoped]'] }] - }, - - ``, - - // Invalid EOF - '