You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/rules/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -255,7 +255,7 @@ For example:
255
255
|[vue/padding-line-between-blocks](./padding-line-between-blocks.md)| require or disallow padding lines between blocks |:wrench:|:lipstick:|
256
256
|[vue/padding-line-between-tags](./padding-line-between-tags.md)| require or disallow newlines between sibling tags in template |:wrench:|:lipstick:|
257
257
|[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:|
259
259
|[vue/prefer-prop-type-boolean-first](./prefer-prop-type-boolean-first.md)| enforce `Boolean` comes first in component prop types |:bulb:|:warning:|
260
260
|[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:|
261
261
|[vue/prefer-true-attribute-shorthand](./prefer-true-attribute-shorthand.md)| require shorthand form attribute when `v-bind` value is `true`|:bulb:|:hammer:|
Copy file name to clipboardexpand all lines: docs/rules/prefer-define-options.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ pageClass: rule-details
3
3
sidebarDepth: 0
4
4
title: vue/prefer-define-options
5
5
description: enforce use of `defineOptions` instead of default export.
6
+
since: v9.13.0
6
7
---
7
8
# vue/prefer-define-options
8
9
9
10
> enforce use of `defineOptions` instead of default export.
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
12
12
-: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.
0 commit comments