眼眸繁星
代码改动量略大,也不知道那处改动影响了结果,我全局安装了eslint以及相关的plugins,(并不清楚这个是否影响自动修正)然后`"scripts": {"dev": "node build/dev-server.js","start": "node build/dev-server.js","build": "node build/build.js","unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run","e2e": "node test/e2e/runner.js","test": "npm run unit && npm run e2e","lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs","lintfix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs"},//增加了一句这个,"lintfix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs"