vue 配置 tslint .

时间:2021-08-24 16:58:47   收藏:0   阅读:6
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‘ } } },

 

原文:https://www.cnblogs.com/whm-blog/p/15180688.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!