Errors:
4 http://eslint.org/docs/rules/no-tabs
4 http://eslint.org/docs/rules/indent
1 http://eslint.org/docs/rules/eol-last
1 http://eslint.org/docs/rules/semi
1 http://eslint.org/docs/rules/no-multiple-empty-lines
✘ http://eslint.org/docs/rules/semi Extra semicolon
src\router\index.js:8:16
Vue.use(Router);
^
✘ http://eslint.org/docs/rules/quotes Strings must use singlequote
src\router\index.js:13:13
path: "/", component: Main
^
✘ 2 problems (2 errors, 0 warnings)
Errors:
1 http://eslint.org/docs/rules/quotes
1 http://eslint.org/docs/rules/semi
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
解决办法
打开config里面的index.js
找到
useEslint: true,
网友评论