Skip to content

Commit 9b379a0

Browse files
committed
docs: document lintOnSave default to true
1 parent 3d29458 commit 9b379a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli-plugin-eslint/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323

2424
ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`.
2525

26-
Lint-on-save during development with `eslint-loader` can be enabled with the `lintOnSave` option in `vue.config.js`:
26+
Lint-on-save during development with `eslint-loader` is enabled by default. It can be disabled with the `lintOnSave` option in `vue.config.js`:
2727

2828
``` js
2929
module.exports = {
30-
lintOnSave: true
30+
lintOnSave: false
3131
}
3232
```
3333

0 commit comments

Comments
 (0)