0
点赞
收藏
分享

微信扫一扫

关闭eslint校验,对整个项目关闭eslint校验


项目的.eslintrc.js写入如下代码即可
注意:更改eslint校验规则,必须重新将项目跑一下

module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "plugin:vue/essential",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
"generator-star-spacing": "off",
"no-tabs":"off",
"no-unused-vars":"off",
"no-console":"off",
"no-irregular-whitespace":"off",
"no-debugger": "off"
}
};


举报

相关推荐

0 条评论