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/README.md
+5
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,10 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
39
39
40
40
| Rule ID | Description ||
41
41
|:--------|:------------|:---|
42
+
|[vue/multi-word-component-names](./multi-word-component-names.md)| require component names to be always multi-word ||
42
43
|[vue/no-arrow-functions-in-watch](./no-arrow-functions-in-watch.md)| disallow using arrow functions to define watcher ||
43
44
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||
45
+
|[vue/no-computed-properties-in-data](./no-computed-properties-in-data.md)| disallow accessing computed properties in `data`. ||
44
46
|[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:|
45
47
|[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:|
46
48
|[vue/no-deprecated-dollar-listeners-api](./no-deprecated-dollar-listeners-api.md)| disallow using deprecated `$listeners` (in Vue.js 3.0.0+) ||
@@ -51,6 +53,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
51
53
|[vue/no-deprecated-html-element-is](./no-deprecated-html-element-is.md)| disallow using deprecated the `is` attribute on HTML elements (in Vue.js 3.0.0+) ||
52
54
|[vue/no-deprecated-inline-template](./no-deprecated-inline-template.md)| disallow using deprecated `inline-template` attribute (in Vue.js 3.0.0+) ||
53
55
|[vue/no-deprecated-props-default-this](./no-deprecated-props-default-this.md)| disallow deprecated `this` access in props default function (in Vue.js 3.0.0+) ||
56
+
|[vue/no-deprecated-router-link-tag-prop](./no-deprecated-router-link-tag-prop.md)| disallow using deprecated `tag` property on `RouterLink` (in Vue.js 3.0.0+) ||
54
57
|[vue/no-deprecated-scope-attribute](./no-deprecated-scope-attribute.md)| disallow deprecated `scope` attribute (in Vue.js 2.5.0+) |:wrench:|
55
58
|[vue/no-deprecated-slot-attribute](./no-deprecated-slot-attribute.md)| disallow deprecated `slot` attribute (in Vue.js 2.6.0+) |:wrench:|
56
59
|[vue/no-deprecated-slot-scope-attribute](./no-deprecated-slot-scope-attribute.md)| disallow deprecated `slot-scope` attribute (in Vue.js 2.6.0+) |:wrench:|
@@ -179,8 +182,10 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
179
182
180
183
| Rule ID | Description ||
181
184
|:--------|:------------|:---|
185
+
|[vue/multi-word-component-names](./multi-word-component-names.md)| require component names to be always multi-word ||
182
186
|[vue/no-arrow-functions-in-watch](./no-arrow-functions-in-watch.md)| disallow using arrow functions to define watcher ||
183
187
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||
188
+
|[vue/no-computed-properties-in-data](./no-computed-properties-in-data.md)| disallow accessing computed properties in `data`. ||
184
189
|[vue/no-custom-modifiers-on-v-model](./no-custom-modifiers-on-v-model.md)| disallow custom modifiers on v-model used on the component ||
185
190
|[vue/no-dupe-keys](./no-dupe-keys.md)| disallow duplication of field names ||
186
191
|[vue/no-dupe-v-else-if](./no-dupe-v-else-if.md)| disallow duplicate conditions in `v-if` / `v-else-if` chains ||
Copy file name to clipboardExpand all lines: docs/rules/multi-word-component-names.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.20.0
9
9
10
10
> require component names to be always multi-word
11
11
12
+
-:gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule require component names to be always multi-word, except for root `App`
Copy file name to clipboardExpand all lines: docs/rules/no-computed-properties-in-data.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.20.0
9
9
10
10
> disallow accessing computed properties in `data`.
11
11
12
+
-:gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule disallow accessing computed properties in `data()`.
0 commit comments