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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Rules in this category are enabled for all presets provided by eslint-plugin-vue
45
45
|[vue/no-arrow-functions-in-watch](./no-arrow-functions-in-watch.md)| disallow using arrow functions to define watcher ||:three::two::warning:|
46
46
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||:three::two::warning:|
47
47
|[vue/no-child-content](./no-child-content.md)| disallow element's child contents which would be overwritten by a directive like `v-html` or `v-text`|:bulb:|:three::two::warning:|
48
-
|[vue/no-computed-properties-in-data](./no-computed-properties-in-data.md)| disallow accessing computed properties in `data`.||:three::two::warning:|
48
+
|[vue/no-computed-properties-in-data](./no-computed-properties-in-data.md)| disallow accessing computed properties in `data`||:three::two::warning:|
49
49
|[vue/no-custom-modifiers-on-v-model](./no-custom-modifiers-on-v-model.md)| disallow custom modifiers on v-model used on the component ||:two::warning:|
50
50
|[vue/no-deprecated-data-object-declaration](./no-deprecated-data-object-declaration.md)| disallow using deprecated object declaration on data (in Vue.js 3.0.0+) |:wrench:|:three::warning:|
51
51
|[vue/no-deprecated-destroyed-lifecycle](./no-deprecated-destroyed-lifecycle.md)| disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+) |:wrench:|:three::warning:|
@@ -264,7 +264,7 @@ For example:
264
264
|[vue/padding-line-between-blocks](./padding-line-between-blocks.md)| require or disallow padding lines between blocks |:wrench:|:lipstick:|
265
265
|[vue/padding-line-between-tags](./padding-line-between-tags.md)| require or disallow newlines between sibling tags in template |:wrench:|:lipstick:|
266
266
|[vue/padding-lines-in-component-definition](./padding-lines-in-component-definition.md)| require or disallow padding lines in component definition |:wrench:|:lipstick:|
267
-
|[vue/prefer-define-options](./prefer-define-options.md)| enforce use of `defineOptions` instead of default export.|:wrench:|:hammer:|
267
+
|[vue/prefer-define-options](./prefer-define-options.md)| enforce use of `defineOptions` instead of default export |:wrench:|:hammer:|
268
268
|[vue/prefer-prop-type-boolean-first](./prefer-prop-type-boolean-first.md)| enforce `Boolean` comes first in component prop types |:bulb:|:warning:|
269
269
|[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:|
270
270
|[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/no-computed-properties-in-data.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
pageClass: rule-details
3
3
sidebarDepth: 0
4
4
title: vue/no-computed-properties-in-data
5
-
description: disallow accessing computed properties in `data`.
5
+
description: disallow accessing computed properties in `data`
6
6
since: v7.20.0
7
7
---
8
8
9
9
# vue/no-computed-properties-in-data
10
10
11
-
> disallow accessing computed properties in `data`.
11
+
> disallow accessing computed properties in `data`
12
12
13
13
-:gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `*.configs["flat/essential"]`, `"plugin:vue/essential"`, `*.configs["flat/vue2-essential"]`, `"plugin:vue/vue3-strongly-recommended"`, `*.configs["flat/strongly-recommended"]`, `"plugin:vue/strongly-recommended"`, `*.configs["flat/vue2-strongly-recommended"]`, `"plugin:vue/vue3-recommended"`, `*.configs["flat/recommended"]`, `"plugin:vue/recommended"` and `*.configs["flat/vue2-recommended"]`.
Copy file name to clipboardExpand all lines: docs/rules/prefer-define-options.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
pageClass: rule-details
3
3
sidebarDepth: 0
4
4
title: vue/prefer-define-options
5
-
description: enforce use of `defineOptions` instead of default export.
5
+
description: enforce use of `defineOptions` instead of default export
6
6
since: v9.13.0
7
7
---
8
8
9
9
# vue/prefer-define-options
10
10
11
-
> enforce use of `defineOptions` instead of default export.
11
+
> enforce use of `defineOptions` instead of default export
12
12
13
13
-: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