eslint报错

福瑞斯

文件:.eslintrc.js

Expected indentation of 2 spaces but found 4

增加:

module.exports = {
  rules: {
    'indent': ['off', 2]
  }
}

'Vue' is not defined

增加:

globals:{
    'Vue': true
  },~~~~

rule 'vue/no-parsing-error' was not found

'vue/no-parsing-error': [2,{
          'x-invalid-end-tag': false
      }]
阅读 591

平平淡淡才是真

0 声望
0 粉丝
0 条评论

平平淡淡才是真

0 声望
0 粉丝
文章目录
宣传栏