From 30e89ec349d6f54535f74dc0453b0fe03fc50bd0 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Thu, 24 Dec 2020 11:51:18 +0900 Subject: [PATCH] Chores: Add release version of rule to docs (#1386) --- docs/rules/array-bracket-newline.md | 5 +++ docs/rules/array-bracket-spacing.md | 5 +++ docs/rules/arrow-spacing.md | 5 +++ docs/rules/attribute-hyphenation.md | 5 +++ docs/rules/attributes-order.md | 5 +++ docs/rules/block-spacing.md | 5 +++ docs/rules/block-tag-newline.md | 5 +++ docs/rules/brace-style.md | 5 +++ docs/rules/camelcase.md | 5 +++ docs/rules/comma-dangle.md | 5 +++ docs/rules/comma-spacing.md | 5 +++ docs/rules/comma-style.md | 5 +++ docs/rules/comment-directive.md | 5 +++ .../rules/component-definition-name-casing.md | 5 +++ .../component-name-in-template-casing.md | 5 +++ docs/rules/component-tags-order.md | 5 +++ docs/rules/custom-event-name-casing.md | 5 +++ docs/rules/dot-location.md | 5 +++ docs/rules/dot-notation.md | 5 +++ docs/rules/eqeqeq.md | 5 +++ docs/rules/experimental-script-setup-vars.md | 5 +++ docs/rules/func-call-spacing.md | 5 +++ docs/rules/html-closing-bracket-newline.md | 5 +++ docs/rules/html-closing-bracket-spacing.md | 5 +++ docs/rules/html-comment-content-newline.md | 5 +++ docs/rules/html-comment-content-spacing.md | 5 +++ docs/rules/html-comment-indent.md | 5 +++ docs/rules/html-end-tags.md | 5 +++ docs/rules/html-indent.md | 5 +++ docs/rules/html-quotes.md | 5 +++ docs/rules/html-self-closing.md | 5 +++ docs/rules/jsx-uses-vars.md | 5 +++ docs/rules/key-spacing.md | 5 +++ docs/rules/keyword-spacing.md | 5 +++ docs/rules/match-component-file-name.md | 5 +++ docs/rules/max-attributes-per-line.md | 5 +++ docs/rules/max-len.md | 5 +++ .../multiline-html-element-content-newline.md | 5 +++ docs/rules/mustache-interpolation-spacing.md | 5 +++ docs/rules/name-property-casing.md | 5 +++ .../new-line-between-multi-line-property.md | 5 +++ docs/rules/no-arrow-functions-in-watch.md | 5 +++ docs/rules/no-async-in-computed-properties.md | 5 +++ docs/rules/no-bare-strings-in-template.md | 5 +++ docs/rules/no-boolean-default.md | 5 +++ docs/rules/no-confusing-v-for-v-if.md | 5 +++ docs/rules/no-custom-modifiers-on-v-model.md | 5 +++ .../no-deprecated-data-object-declaration.md | 5 +++ .../no-deprecated-destroyed-lifecycle.md | 5 +++ .../no-deprecated-dollar-listeners-api.md | 5 +++ .../no-deprecated-dollar-scopedslots-api.md | 5 +++ docs/rules/no-deprecated-events-api.md | 5 +++ docs/rules/no-deprecated-filter.md | 5 +++ .../no-deprecated-functional-template.md | 5 +++ docs/rules/no-deprecated-html-element-is.md | 5 +++ docs/rules/no-deprecated-inline-template.md | 5 +++ .../rules/no-deprecated-props-default-this.md | 5 +++ docs/rules/no-deprecated-scope-attribute.md | 5 +++ docs/rules/no-deprecated-slot-attribute.md | 5 +++ .../no-deprecated-slot-scope-attribute.md | 5 +++ docs/rules/no-deprecated-v-bind-sync.md | 5 +++ .../no-deprecated-v-on-native-modifier.md | 5 +++ .../no-deprecated-v-on-number-modifiers.md | 5 +++ .../no-deprecated-vue-config-keycodes.md | 5 +++ docs/rules/no-dupe-keys.md | 5 +++ docs/rules/no-dupe-v-else-if.md | 5 +++ docs/rules/no-duplicate-attr-inheritance.md | 5 +++ docs/rules/no-duplicate-attributes.md | 5 +++ docs/rules/no-empty-component-block.md | 5 +++ docs/rules/no-empty-pattern.md | 5 +++ docs/rules/no-extra-parens.md | 5 +++ docs/rules/no-irregular-whitespace.md | 5 +++ docs/rules/no-lifecycle-after-await.md | 5 +++ docs/rules/no-lone-template.md | 5 +++ docs/rules/no-multi-spaces.md | 5 +++ docs/rules/no-multiple-objects-in-class.md | 5 +++ docs/rules/no-multiple-slot-args.md | 5 +++ docs/rules/no-multiple-template-root.md | 5 +++ docs/rules/no-mutating-props.md | 5 +++ docs/rules/no-parsing-error.md | 5 +++ .../no-potential-component-option-typo.md | 5 +++ docs/rules/no-ref-as-operand.md | 5 +++ docs/rules/no-reserved-component-names.md | 5 +++ docs/rules/no-reserved-keys.md | 5 +++ docs/rules/no-restricted-component-options.md | 5 +++ docs/rules/no-restricted-custom-event.md | 5 +++ docs/rules/no-restricted-props.md | 5 +++ docs/rules/no-restricted-static-attribute.md | 5 +++ docs/rules/no-restricted-syntax.md | 5 +++ docs/rules/no-restricted-v-bind.md | 5 +++ docs/rules/no-setup-props-destructure.md | 5 +++ docs/rules/no-shared-component-data.md | 5 +++ .../no-side-effects-in-computed-properties.md | 5 +++ ...-spaces-around-equal-signs-in-attribute.md | 5 +++ docs/rules/no-sparse-arrays.md | 5 +++ docs/rules/no-static-inline-styles.md | 5 +++ docs/rules/no-template-key.md | 5 +++ docs/rules/no-template-shadow.md | 5 +++ docs/rules/no-template-target-blank.md | 5 +++ docs/rules/no-textarea-mustache.md | 5 +++ docs/rules/no-unregistered-components.md | 5 +++ docs/rules/no-unsupported-features.md | 5 +++ docs/rules/no-unused-components.md | 5 +++ docs/rules/no-unused-properties.md | 5 +++ docs/rules/no-unused-vars.md | 5 +++ docs/rules/no-use-v-if-with-v-for.md | 5 +++ docs/rules/no-useless-concat.md | 5 +++ docs/rules/no-useless-mustaches.md | 5 +++ docs/rules/no-useless-v-bind.md | 5 +++ docs/rules/no-v-for-template-key-on-child.md | 5 +++ docs/rules/no-v-for-template-key.md | 5 +++ docs/rules/no-v-html.md | 5 +++ docs/rules/no-v-model-argument.md | 5 +++ docs/rules/no-watch-after-await.md | 5 +++ docs/rules/object-curly-newline.md | 5 +++ docs/rules/object-curly-spacing.md | 5 +++ docs/rules/object-property-newline.md | 5 +++ docs/rules/one-component-per-file.md | 5 +++ docs/rules/operator-linebreak.md | 5 +++ docs/rules/order-in-components.md | 5 +++ docs/rules/padding-line-between-blocks.md | 5 +++ docs/rules/prefer-template.md | 5 +++ docs/rules/prop-name-casing.md | 5 +++ docs/rules/require-component-is.md | 5 +++ docs/rules/require-default-prop.md | 5 +++ docs/rules/require-direct-export.md | 5 +++ docs/rules/require-explicit-emits.md | 5 +++ docs/rules/require-name-property.md | 5 +++ docs/rules/require-prop-type-constructor.md | 5 +++ docs/rules/require-prop-types.md | 5 +++ docs/rules/require-render-return.md | 5 +++ docs/rules/require-slots-as-functions.md | 5 +++ .../rules/require-toggle-inside-transition.md | 5 +++ docs/rules/require-v-for-key.md | 5 +++ docs/rules/require-valid-default-prop.md | 5 +++ docs/rules/return-in-computed-property.md | 5 +++ docs/rules/return-in-emits-validator.md | 5 +++ docs/rules/script-indent.md | 5 +++ ...singleline-html-element-content-newline.md | 5 +++ docs/rules/sort-keys.md | 5 +++ docs/rules/space-in-parens.md | 5 +++ docs/rules/space-infix-ops.md | 5 +++ docs/rules/space-unary-ops.md | 5 +++ docs/rules/static-class-names-order.md | 5 +++ docs/rules/template-curly-spacing.md | 5 +++ docs/rules/this-in-template.md | 5 +++ docs/rules/use-v-on-exact.md | 5 +++ docs/rules/v-bind-style.md | 5 +++ docs/rules/v-for-delimiter-style.md | 5 +++ docs/rules/v-on-function-call.md | 5 +++ docs/rules/v-on-style.md | 5 +++ docs/rules/v-slot-style.md | 5 +++ docs/rules/valid-template-root.md | 5 +++ docs/rules/valid-v-bind-sync.md | 5 +++ docs/rules/valid-v-bind.md | 5 +++ docs/rules/valid-v-cloak.md | 5 +++ docs/rules/valid-v-else-if.md | 5 +++ docs/rules/valid-v-else.md | 5 +++ docs/rules/valid-v-for.md | 5 +++ docs/rules/valid-v-html.md | 5 +++ docs/rules/valid-v-if.md | 5 +++ docs/rules/valid-v-is.md | 7 ++- docs/rules/valid-v-model.md | 5 +++ docs/rules/valid-v-on.md | 5 +++ docs/rules/valid-v-once.md | 5 +++ docs/rules/valid-v-pre.md | 5 +++ docs/rules/valid-v-show.md | 5 +++ docs/rules/valid-v-slot.md | 5 +++ docs/rules/valid-v-text.md | 5 +++ tools/update-docs.js | 44 ++++++++++++++++--- 170 files changed, 885 insertions(+), 6 deletions(-) diff --git a/docs/rules/array-bracket-newline.md b/docs/rules/array-bracket-newline.md index 02d592022..4d336afd0 100644 --- a/docs/rules/array-bracket-newline.md +++ b/docs/rules/array-bracket-newline.md @@ -6,6 +6,7 @@ description: enforce linebreaks after opening and before closing array brackets since: v7.1.0 --- # vue/array-bracket-newline + > enforce linebreaks after opening and before closing array brackets - :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. @@ -18,6 +19,10 @@ This rule is the same rule as core [array-bracket-newline] rule but it applies t [array-bracket-newline]: https://eslint.org/docs/rules/array-bracket-newline +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v7.1.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/array-bracket-newline.js) diff --git a/docs/rules/array-bracket-spacing.md b/docs/rules/array-bracket-spacing.md index 9d84f3f0c..fd37f2fe3 100644 --- a/docs/rules/array-bracket-spacing.md +++ b/docs/rules/array-bracket-spacing.md @@ -6,6 +6,7 @@ description: enforce consistent spacing inside array brackets since: v5.2.0 --- # vue/array-bracket-spacing + > enforce consistent spacing inside array brackets - :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. @@ -18,6 +19,10 @@ This rule is the same rule as core [array-bracket-spacing] rule but it applies t [array-bracket-spacing]: https://eslint.org/docs/rules/array-bracket-spacing +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v5.2.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/array-bracket-spacing.js) diff --git a/docs/rules/arrow-spacing.md b/docs/rules/arrow-spacing.md index fb244a0e8..40194ae4b 100644 --- a/docs/rules/arrow-spacing.md +++ b/docs/rules/arrow-spacing.md @@ -6,6 +6,7 @@ description: enforce consistent spacing before and after the arrow in arrow func since: v5.2.0 --- # vue/arrow-spacing + > enforce consistent spacing before and after the arrow in arrow functions - :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. @@ -18,6 +19,10 @@ This rule is the same rule as core [arrow-spacing] rule but it applies to the ex [arrow-spacing]: https://eslint.org/docs/rules/arrow-spacing +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v5.2.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/arrow-spacing.js) diff --git a/docs/rules/attribute-hyphenation.md b/docs/rules/attribute-hyphenation.md index e45ba08c6..fc7bba756 100644 --- a/docs/rules/attribute-hyphenation.md +++ b/docs/rules/attribute-hyphenation.md @@ -6,6 +6,7 @@ description: enforce attribute naming style on custom components in template since: v3.9.0 --- # vue/attribute-hyphenation + > enforce attribute naming style on custom components in template - :gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`. @@ -103,6 +104,10 @@ Don't use hyphenated name but allow custom attributes +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v3.9.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/attribute-hyphenation.js) diff --git a/docs/rules/attributes-order.md b/docs/rules/attributes-order.md index 01d0adb55..e5c8a91f1 100644 --- a/docs/rules/attributes-order.md +++ b/docs/rules/attributes-order.md @@ -6,6 +6,7 @@ description: enforce order of attributes since: v4.3.0 --- # vue/attributes-order + > enforce order of attributes - :gear: This rule is included in `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`. @@ -221,6 +222,10 @@ This rule aims to enforce ordering of component attributes. The default order is - [Style guide - Element attribute order](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended) - [Style guide (for v2) - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended) +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v4.3.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/attributes-order.js) diff --git a/docs/rules/block-spacing.md b/docs/rules/block-spacing.md index 105e712e2..72a4d495c 100644 --- a/docs/rules/block-spacing.md +++ b/docs/rules/block-spacing.md @@ -6,6 +6,7 @@ description: disallow or enforce spaces inside of blocks after opening block and since: v5.2.0 --- # vue/block-spacing + > disallow or enforce spaces inside of blocks after opening block and before closing block - :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. @@ -18,6 +19,10 @@ This rule is the same rule as core [block-spacing] rule but it applies to the ex [block-spacing]: https://eslint.org/docs/rules/block-spacing +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v5.2.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/block-spacing.js) diff --git a/docs/rules/block-tag-newline.md b/docs/rules/block-tag-newline.md index 8432d2537..59d43a14b 100644 --- a/docs/rules/block-tag-newline.md +++ b/docs/rules/block-tag-newline.md @@ -6,6 +6,7 @@ description: enforce line breaks after opening and before closing block-level ta since: v7.1.0 --- # vue/block-tag-newline + > enforce line breaks after opening and before closing block-level tags - :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. @@ -156,6 +157,10 @@ export default { +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v7.1.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/block-tag-newline.js) diff --git a/docs/rules/brace-style.md b/docs/rules/brace-style.md index d2b0b890e..99bf8e0ce 100644 --- a/docs/rules/brace-style.md +++ b/docs/rules/brace-style.md @@ -6,6 +6,7 @@ description: enforce consistent brace style for blocks since: v5.2.0 --- # vue/brace-style + > enforce consistent brace style for blocks - :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. @@ -18,6 +19,10 @@ This rule is the same rule as core [brace-style] rule but it applies to the expr [brace-style]: https://eslint.org/docs/rules/brace-style +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v5.2.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/brace-style.js) diff --git a/docs/rules/camelcase.md b/docs/rules/camelcase.md index 206baff29..2ee39bdcc 100644 --- a/docs/rules/camelcase.md +++ b/docs/rules/camelcase.md @@ -6,6 +6,7 @@ description: enforce camelcase naming convention since: v5.2.0 --- # vue/camelcase + > enforce camelcase naming convention This rule is the same rule as core [camelcase] rule but it applies to the expressions in `