需要在.eslintrc parseOptions里 配置parser 为’babel-eslint’
参考 https://eslint.vuejs.org/user-guide/#what-is-the-use-the-latest-vue-eslint-parser-error
PS:
babel-eslint 的作用 :You only need to use babel-eslint if you are using types (Flow) or experimental features not supported in ESLint itself yet. Otherwise try the default parser