Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run lint 报错的时候有奇怪的 log #68

Open
afc163 opened this issue Dec 23, 2018 · 0 comments
Open

npm run lint 报错的时候有奇怪的 log #68

afc163 opened this issue Dec 23, 2018 · 0 comments

Comments

@afc163
Copy link
Member

afc163 commented Dec 23, 2018

/Users/afc163/Projects/time-picker/examples/value-and-defaultValue.js
  30:25  error  Must use destructuring state assignment        react/destructuring-assignment
  34:18  error  Must use destructuring state assignment        react/destructuring-assignment
  37:9   error  Missing an explicit type attribute for button  react/button-has-type

✖ 3 problems (3 errors, 0 warnings)

/Users/afc163/Projects/time-picker/node_modules/_async-done@1.3.1@async-done/index.js:18
    throw err;
    ^

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ([object Object])
    at Gulp.emit (events.js:171:17)
    at Gulp.EventEmitter.emit (domain.js:441:20)
    at Object.error (/Users/afc163/Projects/time-picker/node_modules/_undertaker@1.2.0@undertaker/lib/helpers/createExtensions.js:61:10)
    at handler (/Users/afc163/Projects/time-picker/node_modules/_now-and-later@2.0.0@now-and-later/lib/mapSeries.js:43:14)
    at f (/Users/afc163/Projects/time-picker/node_modules/_once@1.4.0@once/once.js:25:25)
    at f (/Users/afc163/Projects/time-picker/node_modules/_once@1.4.0@once/once.js:25:25)
    at tryCatch (/Users/afc163/Projects/time-picker/node_modules/_async-done@1.3.1@async-done/index.js:24:15)
    at done (/Users/afc163/Projects/time-picker/node_modules/_async-done@1.3.1@async-done/index.js:40:12)
    at ChildProcess.runner.on.code (/Users/afc163/Projects/time-picker/node_modules/_rc-tools@9.0.1@rc-tools/lib/util.js:11:7)
    at ChildProcess.emit (events.js:182:13)
    at ChildProcess.EventEmitter.emit (domain.js:459:23)
    at maybeClose (internal/child_process.js:970:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)

lint 通过后就消失了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant