You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(py3) ➜ react-starter-kit git:(master) ✗ npm run lint
> [email protected] lint /home/seven/workspace/react-starter-kit
> eslint bin build config server src tests
/home/seven/workspace/react-starter-kit/src/containers/AppContainer.js
1:28 error 'PropTypes' is defined but never used no-unused-vars
12:13 error 'routes' is missing in props validation react/prop-types
12:21 error 'store' is missing in props validation react/prop-types
/home/seven/workspace/react-starter-kit/src/routes/PageNotFound/components/PageNotFound.js
23:11 error 'router' PropType is defined but prop is never used react/no-unused-prop-types
/home/seven/workspace/react-starter-kit/src/routes/Zen/components/Zen.js
9:13 error 'fetchZen' is missing in props validation react/prop-types
9:23 error 'clearZen' is missing in props validation react/prop-types
/home/seven/workspace/react-starter-kit/tests/components/Header/Header.spec.js
3:8 error 'classes' is defined but never used no-unused-vars
✖ 7 problems (7 errors, 0 warnings)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] lint: `eslint bin build config server src tests`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/seven/.npm/_logs/2018-02-06T07_07_41_167Z-debug.log
(py3) ➜ react-starter-kit git:(master) ✗
本人在测试npm run lint:fix命令时报错,一大堆module找不到。
The text was updated successfully, but these errors were encountered: