Skip to content

Commit b00faf3

Browse files
committed
9.13.0
1 parent 9abf469 commit b00faf3

File tree

5 files changed

+234
-211
lines changed

5 files changed

+234
-211
lines changed

docs/rules/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ For example:
255255
| [vue/padding-line-between-blocks](./padding-line-between-blocks.md) | require or disallow padding lines between blocks | :wrench: | :lipstick: |
256256
| [vue/padding-line-between-tags](./padding-line-between-tags.md) | require or disallow newlines between sibling tags in template | :wrench: | :lipstick: |
257257
| [vue/padding-lines-in-component-definition](./padding-lines-in-component-definition.md) | require or disallow padding lines in component definition | :wrench: | :lipstick: |
258-
| [vue/prefer-define-options](./prefer-define-options.md) | enforce use of `defineOptions` instead of default export. | :wrench: | :warning: |
258+
| [vue/prefer-define-options](./prefer-define-options.md) | enforce use of `defineOptions` instead of default export. | :wrench: | :hammer: |
259259
| [vue/prefer-prop-type-boolean-first](./prefer-prop-type-boolean-first.md) | enforce `Boolean` comes first in component prop types | :bulb: | :warning: |
260260
| [vue/prefer-separate-static-class](./prefer-separate-static-class.md) | require static class names in template to be in a separate `class` attribute | :wrench: | :hammer: |
261261
| [vue/prefer-true-attribute-shorthand](./prefer-true-attribute-shorthand.md) | require shorthand form attribute when `v-bind` value is `true` | :bulb: | :hammer: |

docs/rules/prefer-define-options.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/prefer-define-options
55
description: enforce use of `defineOptions` instead of default export.
6+
since: v9.13.0
67
---
78
# vue/prefer-define-options
89

910
> enforce use of `defineOptions` instead of default export.
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :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.
1313

1414
## :book: Rule Details
@@ -50,6 +50,10 @@ Nothing.
5050

5151
- [API - defineOptions()](https://vuejs.org/api/sfc-script-setup.html#defineoptions)
5252

53+
## :rocket: Version
54+
55+
This rule was introduced in eslint-plugin-vue v9.13.0
56+
5357
## :mag: Implementation
5458

5559
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/prefer-define-options.js)

docs/rules/valid-define-options.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/valid-define-options
55
description: enforce valid `defineOptions` compiler macro
6+
since: v9.13.0
67
---
78
# vue/valid-define-options
89

910
> enforce valid `defineOptions` compiler macro
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
12-
1312
This rule checks whether `defineOptions` compiler macro is valid.
1413

1514
## :book: Rule Details
@@ -113,6 +112,10 @@ Nothing.
113112
- [vue/valid-define-emits](./valid-define-emits.md)
114113
- [vue/valid-define-props](./valid-define-props.md)
115114

115+
## :rocket: Version
116+
117+
This rule was introduced in eslint-plugin-vue v9.13.0
118+
116119
## :mag: Implementation
117120

118121
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/valid-define-options.js)

0 commit comments

Comments
 (0)