Skip to content

Conversation

@yosmoc
Copy link
Member

@yosmoc yosmoc commented Nov 12, 2017

Migrated by react-codemod + fixed trivial things by hand.

yarn lint

Before

...
/Users/yoshi/src/github.com/yosmoc/Boostnote/browser/main/TopBar/index.js
    1:1   warning  React.PropTypes is deprecated since React 15.5.0, use the npm module prop-types instead  react/no-deprecated
    5:8   warning  'NewNoteModal' is defined but never used                                                 no-unused-vars
   10:9   warning  'dialog' is assigned a value but never used                                              no-unused-vars
   12:7   warning  'OSX' is assigned a value but never used                                                 no-unused-vars
  124:11  warning  'config' is never reassigned. Use 'const' instead                                        prefer-const
  124:19  warning  'style' is never reassigned. Use 'const' instead                                         prefer-const
  124:26  warning  'data' is assigned a value but never used                                                no-unused-vars
  124:26  warning  'data' is never reassigned. Use 'const' instead                                          prefer-const
  124:32  warning  'location' is never reassigned. Use 'const' instead                                      prefer-const
...
✖ 568 problems (0 errors, 568 warnings)

After

...
/Users/yoshi/src/github.com/yosmoc/Boostnote/browser/main/TopBar/index.js
    6:8   warning  'NewNoteModal' is defined but never used             no-unused-vars
   11:9   warning  'dialog' is assigned a value but never used          no-unused-vars
   13:7   warning  'OSX' is assigned a value but never used             no-unused-vars
  125:11  warning  'config' is never reassigned. Use 'const' instead    prefer-const
  125:19  warning  'style' is never reassigned. Use 'const' instead     prefer-const
  125:26  warning  'data' is assigned a value but never used            no-unused-vars
  125:26  warning  'data' is never reassigned. Use 'const' instead      prefer-const
  125:32  warning  'location' is never reassigned. Use 'const' instead  prefer-const
...
✖ 527 problems (0 errors, 527 warnings)

@BoostnoteBot
Copy link
Collaborator

Be sure to be changed browser/main/Detail/SnippetNoteDetail.js.

@kazup01 kazup01 requested a review from kohei-takata November 12, 2017 02:53
@kazup01 kazup01 added awaiting review ❇️ Pull request is awaiting a review. awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. and removed awaiting review ❇️ Pull request is awaiting a review. labels Nov 12, 2017
@kazup01
Copy link
Member

kazup01 commented Nov 15, 2017

Hi @yosmoc , thanks for your support every time.
Sorry, there is a conflict. Could you fix it?

@yosmoc yosmoc force-pushed the react_proptypes_deprecated branch from 2b6c318 to e96dcd6 Compare November 15, 2017 07:56
@yosmoc
Copy link
Member Author

yosmoc commented Nov 15, 2017

@kazup01 Resolved conflict!

@kazup01
Copy link
Member

kazup01 commented Nov 15, 2017

Thanks!

@yosmoc yosmoc force-pushed the react_proptypes_deprecated branch from e96dcd6 to f2435fd Compare November 15, 2017 12:03
@yosmoc
Copy link
Member Author

yosmoc commented Nov 15, 2017

Sorry, I found my mistake. I pushed again now.

@kazup01 kazup01 added awaiting review ❇️ Pull request is awaiting a review. and removed awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. labels Nov 18, 2017
@kazup01 kazup01 mentioned this pull request Nov 24, 2017
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react'
import PropTypes from 'prop-types'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yosmoc
Please resolve conflict.
This line is not needed, I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed!

Migrated by react-codemod + minor fix by hand.
@yosmoc yosmoc force-pushed the react_proptypes_deprecated branch from f2435fd to edaa071 Compare November 25, 2017 21:34
Copy link
Contributor

@kohei-takata kohei-takata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kohei-takata kohei-takata merged commit 6bab108 into BoostIO:master Nov 26, 2017
@kazup01 kazup01 removed the awaiting review ❇️ Pull request is awaiting a review. label Nov 26, 2017
@kohei-takata kohei-takata mentioned this pull request Dec 3, 2017
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

Successfully merging this pull request may close these issues.

4 participants