vue 配置 tslint .
作者:互联网
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' } } },
标签:tslint,vue,配置,parser,module,webpack,eslint,true 来源: https://www.cnblogs.com/whm-blog/p/15180688.html