Skip to content

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

@afc163

Description

@afc163
/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 通过后就消失了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions