diff --git a/package.json b/package.json index f8f98543..1b59855b 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "@babel/core": "7.0.0", "@babel/register": "7.0.0", "@vue/cli-plugin-babel": "3.5.3", + "@vue/cli-plugin-eslint": "3.5.1", "@vue/cli-plugin-unit-jest": "3.5.3", "@vue/cli-service": "3.5.3", "@vue/test-utils": "1.0.0-beta.29", diff --git a/vue.config.js b/vue.config.js index d5fede2b..cbd79510 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,7 +21,7 @@ module.exports = { publicPath: '/', outputDir: 'dist', assetsDir: 'static', - lintOnSave: process.env.NODE_ENV === 'development' ? 'error' : false, + lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false, devServer: { port: port,