vue中ESlint报错

vue使用ESlint时不停报错,更改文件根目录下F:\projects\gshop\.eslintrc.js里.eslintrc.js里面的rules
rules: {
// allow async-await
'generator-star-spacing': 'off',
"no-unused-vars":0,
'no-trailing-spaces':0,
'no-multiple-empty-lines':'off',
'no-table':'off',
'no-new':'off',
'key-spacing':'off',
'arrow-spacing':'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
posted @ 2018-09-16 18:34  呦呦鹿鸣~~  阅读(537)  评论(0编辑  收藏  举报