lint – fix 执行完毕后进行修复
(```)
/Users/dengshicheng/Desktop/web/vue-todo-tech/client/layout/header.vue
7:1 error Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>…</>?
5 |
6 |
7 |
✖ 5 problems (5 errors, 0 warnings)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-ssr-tech@1.0.0 lint-fix: eslint --fix --ext .js --ext .vue --ext .jsx client/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-ssr-tech@1.0.0 lint-fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
(```)