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
+12-10
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ sidebarDepth: 0
8
8
9
9
::: tip Legend
10
10
:wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
11
+
12
+
:bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
11
13
:::
12
14
13
15
@@ -78,7 +80,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
78
80
|[vue/no-template-key](./no-template-key.md)| disallow `key` attribute on `<template>`||
79
81
|[vue/no-textarea-mustache](./no-textarea-mustache.md)| disallow mustaches in `<textarea>`||
80
82
|[vue/no-unused-components](./no-unused-components.md)| disallow registering components that are not used inside templates ||
81
-
|[vue/no-unused-vars](./no-unused-vars.md)| disallow unused variable definitions of v-for directives or scope attributes ||
83
+
|[vue/no-unused-vars](./no-unused-vars.md)| disallow unused variable definitions of v-for directives or scope attributes |:bulb:|
82
84
|[vue/no-use-v-if-with-v-for](./no-use-v-if-with-v-for.md)| disallow use v-if on the same element as v-for ||
83
85
|[vue/no-useless-template-attributes](./no-useless-template-attributes.md)| disallow useless attribute on `<template>`||
84
86
|[vue/no-v-for-template-key-on-child](./no-v-for-template-key-on-child.md)| disallow key of `<template v-for>` placed on child elements ||
@@ -95,7 +97,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
95
97
|[vue/use-v-on-exact](./use-v-on-exact.md)| enforce usage of `exact` modifier on `v-on`||
@@ -144,7 +146,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
144
146
|[vue/one-component-per-file](./one-component-per-file.md)| enforce that each component should be in its own file ||
145
147
|[vue/prop-name-casing](./prop-name-casing.md)| enforce specific casing for the Prop name in Vue components ||
146
148
|[vue/require-default-prop](./require-default-prop.md)| require default value for props ||
147
-
|[vue/require-explicit-emits](./require-explicit-emits.md)| require `emits` option with name triggered by `$emit()`||
149
+
|[vue/require-explicit-emits](./require-explicit-emits.md)| require `emits` option with name triggered by `$emit()`|:bulb:|
148
150
|[vue/require-prop-types](./require-prop-types.md)| require type definitions in props ||
149
151
|[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:|
Copy file name to clipboardExpand all lines: docs/rules/no-potential-component-option-typo.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.0.0
9
9
10
10
> disallow a potential typo in your component property
11
11
12
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule disallow a potential typo in your component options
Copy file name to clipboardExpand all lines: docs/rules/no-restricted-custom-event.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.3.0
9
9
10
10
> disallow specific custom event
11
11
12
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule allows you to specify custom event that you don't want to use in your application.
Copy file name to clipboardExpand all lines: docs/rules/no-restricted-props.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.3.0
9
9
10
10
> disallow specific props
11
11
12
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule allows you to specify props that you don't want to use in your application.
Copy file name to clipboardExpand all lines: docs/rules/no-unused-vars.md
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ since: v3.14.0
10
10
> disallow unused variable definitions of v-for directives or scope attributes
11
11
12
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
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
Copy file name to clipboardExpand all lines: docs/rules/require-emit-validator.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.10.0
9
9
10
10
> require type definitions in emits
11
11
12
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule enforces that a `emits` statement contains type definition.
Copy file name to clipboardExpand all lines: docs/rules/require-explicit-emits.md
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ since: v7.0.0
10
10
> require `emits` option with name triggered by `$emit()`
11
11
12
12
-:gear: This rule is included in `"plugin:vue/vue3-strongly-recommended"` and `"plugin:vue/vue3-recommended"`.
13
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
Copy file name to clipboardExpand all lines: docs/rules/require-expose.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ since: v7.14.0
9
9
10
10
> require declare public properties using `expose`
11
11
12
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
13
+
12
14
## :book: Rule Details
13
15
14
16
This rule enforces the component to explicitly declare the exposed properties to the component using `expose`. You can use `expose` to control the internal properties of a component so that they cannot be referenced externally.
Copy file name to clipboardExpand all lines: docs/rules/valid-next-tick.md
+1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ since: v7.5.0
11
11
12
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
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.
14
+
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
:wrench: Indicates that the rule is fixable, and using \`--fix\` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
138
+
139
+
:bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
Copy file name to clipboardExpand all lines: tools/update-docs.js
+6-1
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,12 @@ class DocFile {
141
141
}
142
142
if(meta.fixable){
143
143
notes.push(
144
-
`- :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.`
144
+
'- :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.'
145
+
)
146
+
}
147
+
if(meta.hasSuggestions){
148
+
notes.push(
149
+
'- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).'
0 commit comments