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‘ } } },

 

vue 配置 tslint .

上一篇:HelloWorld实操案例


下一篇:如何写代码