module.exports = { root: true, parser: 'vue-eslint-parser', parserOptions: { 'sourceType': 'module',
// 修改这里 为 @typescript-eslint/parser................. parser: '@typescript-eslint/parser', }, env: { browser: true, node: true, es6: true }, extends: 'eslint:recommended', // required to lint *.vue files plugins: [ 'html' ], // check if imports actually resolve 'settings': { 'import/resolver': { 'webpack': { 'config': 'build/webpack.base.conf.js' } } },