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
Enforce all the rules in this category, as well as all higher priority rules, with:
32
+
33
+
```json
34
+
{
35
+
"extends": "plugin:vue/vue3-essential"
36
+
}
37
+
```
38
+
39
+
| Rule ID | Description ||
40
+
|:--------|:------------|:---|
41
+
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||
42
+
|[vue/no-deprecated-filter](./no-deprecated-filter.md)| disallow using deprecated filters syntax ||
43
+
|[vue/no-deprecated-scope-attribute](./no-deprecated-scope-attribute.md)| disallow deprecated `scope` attribute (in Vue.js 2.5.0+) |:wrench:|
44
+
|[vue/no-deprecated-slot-attribute](./no-deprecated-slot-attribute.md)| disallow deprecated `slot` attribute (in Vue.js 2.6.0+) |:wrench:|
45
+
|[vue/no-deprecated-slot-scope-attribute](./no-deprecated-slot-scope-attribute.md)| disallow deprecated `slot-scope` attribute (in Vue.js 2.6.0+) |:wrench:|
46
+
|[vue/no-deprecated-v-bind-sync](./no-deprecated-v-bind-sync.md)| disallow use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+) |:wrench:|
47
+
|[vue/no-dupe-keys](./no-dupe-keys.md)| disallow duplication of field names ||
48
+
|[vue/no-duplicate-attributes](./no-duplicate-attributes.md)| disallow duplication of attributes ||
|[vue/max-attributes-per-line](./max-attributes-per-line.md)| enforce the maximum number of attributes per line |:wrench:|
105
+
|[vue/multiline-html-element-content-newline](./multiline-html-element-content-newline.md)| require a line break before and after the contents of a multiline element |:wrench:|
106
+
|[vue/mustache-interpolation-spacing](./mustache-interpolation-spacing.md)| enforce unified spacing in mustache interpolations |:wrench:|
|[vue/no-spaces-around-equal-signs-in-attribute](./no-spaces-around-equal-signs-in-attribute.md)| disallow spaces around equal signs in attribute |:wrench:|
109
+
|[vue/no-template-shadow](./no-template-shadow.md)| disallow variable declarations from shadowing variables declared in the outer scope ||
110
+
|[vue/prop-name-casing](./prop-name-casing.md)| enforce specific casing for the Prop name in Vue components ||
111
+
|[vue/require-default-prop](./require-default-prop.md)| require default value for props ||
112
+
|[vue/require-prop-types](./require-prop-types.md)| require type definitions in props ||
113
+
|[vue/singleline-html-element-content-newline](./singleline-html-element-content-newline.md)| require a line break before and after the contents of a singleline element |:wrench:|
|[vue/no-deprecated-filter](./no-deprecated-filter.md)| disallow using deprecated filters syntax ||
164
-
|[vue/no-deprecated-scope-attribute](./no-deprecated-scope-attribute.md)| disallow deprecated `scope` attribute (in Vue.js 2.5.0+) |:wrench:|
165
-
|[vue/no-deprecated-slot-attribute](./no-deprecated-slot-attribute.md)| disallow deprecated `slot` attribute (in Vue.js 2.6.0+) |:wrench:|
166
-
|[vue/no-deprecated-slot-scope-attribute](./no-deprecated-slot-scope-attribute.md)| disallow deprecated `slot-scope` attribute (in Vue.js 2.6.0+) |:wrench:|
167
-
|[vue/no-deprecated-v-bind-sync](./no-deprecated-v-bind-sync.md)| disallow use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+) |:wrench:|
Copy file name to clipboardExpand all lines: docs/rules/attribute-hyphenation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: enforce attribute naming style on custom components in template
7
7
# vue/attribute-hyphenation
8
8
> enforce attribute naming style on custom components in template
9
9
10
-
-:gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
10
+
-:gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
11
11
-: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.
Copy file name to clipboardExpand all lines: docs/rules/attributes-order.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: enforce order of attributes
7
7
# vue/attributes-order
8
8
> enforce order of attributes
9
9
10
-
-:gear: This rule is included in `"plugin:vue/recommended"`.
10
+
-:gear: This rule is included in `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
11
11
-: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.
Copy file name to clipboardExpand all lines: docs/rules/component-definition-name-casing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: enforce specific casing for component definition name
7
7
# vue/component-definition-name-casing
8
8
> enforce specific casing for component definition name
9
9
10
-
-:gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
10
+
-:gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
11
11
-: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.
12
12
13
13
Define a style for component definition name casing for consistency purposes.
Copy file name to clipboardExpand all lines: docs/rules/html-closing-bracket-newline.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: require or disallow a line break before tag's closing brackets
7
7
# vue/html-closing-bracket-newline
8
8
> require or disallow a line break before tag's closing brackets
9
9
10
-
-:gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
10
+
-:gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
11
11
-: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.
12
12
13
13
People have their own preference about the location of closing brackets.
Copy file name to clipboardExpand all lines: docs/rules/html-closing-bracket-spacing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: require or disallow a space before tag's closing brackets
7
7
# vue/html-closing-bracket-spacing
8
8
> require or disallow a space before tag's closing brackets
9
9
10
-
-:gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
10
+
-:gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
11
11
-: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.
Copy file name to clipboardExpand all lines: docs/rules/html-end-tags.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: enforce end tag style
7
7
# vue/html-end-tags
8
8
> enforce end tag style
9
9
10
-
-:gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
10
+
-:gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
11
11
-: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