fix[Chore]: add @vue/cli-plugin-eslint

This commit is contained in:
Pan 2019-04-08 22:05:10 +08:00
parent c833cb6efa
commit 342b7b428a
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -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,