docs: Document lintOnSave: 'error' option (#1755)

* Document lintOnSave: 'error' option

fix #1719

* Missing dot
This commit is contained in:
Thorsten Lünborg
2018-07-04 17:42:52 +02:00
committed by Guillaume Chau
parent d8b06bbaea
commit d5fc24f707
+3 -1
View File
@@ -106,10 +106,12 @@ module.exports = {
### lintOnSave
- Type: `boolean`
- Type: `boolean | 'error'`
- Default: `true`
Whether to perform lint-on-save during development using [eslint-loader](https://github.com/webpack-contrib/eslint-loader). This value is respected only when [`@vue/cli-plugin-eslint`](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint) is installed.
When set to `true`, eslint-loader will only emit warnings during webpack's compilation process in order not to break the flow during development. If you want it to emit errors instead (i.e. when building for production), set it like this: `lintOnSave: 'error'`.
### runtimeCompiler