Skip to content

Commit e15dcb9

Browse files
committed
docs: add note to user guide
1 parent d263c24 commit e15dcb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/user-guide/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ You can use the following configs by adding them to `eslint.config.js`.
7373

7474
:::warning Reporting rules
7575
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).
76+
77+
Alternatively, you can set `process.env.VUE_ESLINT_ALWAYS_ERROR` to `true` in your configuration file to have `error` be used by all rules.
7678
:::
7779

7880
#### Specifying Globals (`eslint.config.js`)

0 commit comments

Comments
 (0)