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
+1-2
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,6 @@ 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 ||
43
42
|[vue/no-arrow-functions-in-watch](./no-arrow-functions-in-watch.md)| disallow using arrow functions to define watcher ||
44
43
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||
45
44
|[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:|
@@ -172,7 +171,6 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
172
171
173
172
| Rule ID | Description ||
174
173
|:--------|:------------|:---|
175
-
|[vue/multi-word-component-names](./multi-word-component-names.md)| require component names to be always multi-word ||
176
174
|[vue/no-arrow-functions-in-watch](./no-arrow-functions-in-watch.md)| disallow using arrow functions to define watcher ||
177
175
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||
178
176
|[vue/no-custom-modifiers-on-v-model](./no-custom-modifiers-on-v-model.md)| disallow custom modifiers on v-model used on the component ||
@@ -298,6 +296,7 @@ For example:
298
296
|[vue/html-comment-content-spacing](./html-comment-content-spacing.md)| enforce unified spacing in HTML comments |:wrench:|
299
297
|[vue/html-comment-indent](./html-comment-indent.md)| enforce consistent indentation in HTML comments |:wrench:|
300
298
|[vue/match-component-file-name](./match-component-file-name.md)| require component name property to match its file name ||
299
+
|[vue/multi-word-component-names](./multi-word-component-names.md)| require component names to be always multi-word ||
301
300
|[vue/new-line-between-multi-line-property](./new-line-between-multi-line-property.md)| enforce new lines between multi-line properties in Vue components |:wrench:|
302
301
|[vue/next-tick-style](./next-tick-style.md)| enforce Promise or callback style in `nextTick`|:wrench:|
303
302
|[vue/no-bare-strings-in-template](./no-bare-strings-in-template.md)| disallow the use of bare strings in `<template>`||
Copy file name to clipboardExpand all lines: docs/rules/multi-word-component-names.md
+37-11
Original file line number
Diff line number
Diff line change
@@ -9,39 +9,65 @@ description: require component names to be always multi-word
9
9
> require component names to be always multi-word
10
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
-
-: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
13
## :book: Rule Details
15
14
16
-
This rule ....
15
+
This rule require component names to be always multi-word, except for root `App`
16
+
components, and built-in components provided by Vue, such as `<transition>` or
17
+
`<component>`. This prevents conflicts with existing and future HTML elements,
0 commit comments