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/user-guide/index.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,14 +187,20 @@ You can use the following configs by adding them to `extends`.
187
187
- Configurations for using Vue.js 3.x:
188
188
-`"plugin:vue/essential"` ... `base`, plus rules to prevent errors or unintended behavior.
189
189
-`"plugin:vue/strongly-recommended"` ... Above, plus rules to considerably improve code readability and/or dev experience.
190
+
-`"plugin:vue/strongly-recommended-error"` ... Above, except with all rules configured to error instead of warn.
190
191
-`"plugin:vue/recommended"` ... Above, plus rules to enforce subjective community defaults to ensure consistency.
192
+
-`"plugin:vue/recommended-error"` ... Above, except with all rules configured to error instead of warn.
191
193
- Configurations for using Vue.js 2.x:
192
194
-`"plugin:vue/vue2-essential"` ... `base`, plus rules to prevent errors or unintended behavior.
193
195
-`"plugin:vue/vue2-strongly-recommended"` ... Above, plus rules to considerably improve code readability and/or dev experience.
196
+
-`"plugin:vue/vue2-strongly-recommended-error"` ... Above, except with all rules configured to error instead of warn.
194
197
-`"plugin:vue/vue2-recommended"` ... Above, plus rules to enforce subjective community defaults to ensure consistency.
198
+
-`"plugin:vue/vue2-recommended-error"` ... Above, except with all rules configured to error instead of warn.
195
199
196
200
:::warning Reporting rules
197
201
By default, all rules from **base** and **essential** categories report ESLint errors. Other rules - because they're not covering potential bugs in the application - report warnings. What does it mean? By default - nothing, but if you want - you can set up a threshold and break the build after a certain amount of warnings, instead of any. More information [here](https://eslint.org/docs/user-guide/command-line-interface#handling-warnings).
202
+
203
+
Alternatively, there are versions of the configs with all rules set to error suffixed with `-error` that you can use.
0 commit comments