发布于 3年前
eslint报错 Expected indentation of 2 spaces but found 4
文件:.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
}]