[Lint]: update lint packages, fix lint errors#1874
[Lint]: update lint packages, fix lint errors#1874hzoo wants to merge 1 commit intofacebook:masterfrom hzoo:fix-lint
Conversation
|
👍 |
1 similar comment
|
👍 |
|
@facebook-github-bot import |
|
Maybe I should update this again (probably better as a new PR)? (although with eslint becoming 1.0 there probably needs to be some more changes) |
|
That'd be great :) |
|
Please rebase :) |
|
Rebased. Should I still update the 3 packages again? Would require more changes since eslint is 1.0 which I can do as well (in this PR or a new one) |
|
Here's an eslintrc 1.0 I use, which should be quite close to the one that RN ships with. It's not exactly the same but thought it could be helpful: https://gist.github.com/ide/4c9b3de2ae9e952c8b3d |
|
K will update to latest versions then - we'll see if I can incorporate some of @ide's config (seems like eslint nicely warns what new rules to use instead of deprecated ones) |
Didn't bother fixing any errors yet (getting If you see |
- update eslint, babel-eslint, eslint-plugin-react - fix lint npm script
|
Fixed a merge conflict |
Summary: @cesarandreu pointed out running eslint on react-native resulted in `t.isReferencedIdentifier is not a function` issues on the babel #linting channel on slack. - update eslint, babel-eslint, eslint-plugin-react - fix eslint errors: `Error - t.isReferencedIdentifier is not a function` - fix lint npm script I see there's also #1736 from @ide which would fix it tooCloses #1874 Reviewed By: @vjeux Differential Revision: D2495878 Pulled By: @frantic
Summary: @cesarandreu pointed out running eslint on react-native resulted in `t.isReferencedIdentifier is not a function` issues on the babel #linting channel on slack. - update eslint, babel-eslint, eslint-plugin-react - fix eslint errors: `Error - t.isReferencedIdentifier is not a function` - fix lint npm script I see there's also facebook#1736 from @ide which would fix it tooCloses facebook#1874 Reviewed By: @vjeux Differential Revision: D2495878 Pulled By: @frantic
Summary: @cesarandreu pointed out running eslint on react-native resulted in `t.isReferencedIdentifier is not a function` issues on the babel #linting channel on slack. - update eslint, babel-eslint, eslint-plugin-react - fix eslint errors: `Error - t.isReferencedIdentifier is not a function` - fix lint npm script I see there's also facebook#1736 from @ide which would fix it tooCloses facebook#1874 Reviewed By: @vjeux Differential Revision: D2495878 Pulled By: @frantic
@cesarandreu pointed out running eslint on react-native resulted in
t.isReferencedIdentifier is not a functionissues on the babel #linting channel on slack.Error - t.isReferencedIdentifier is not a functionI see there's also #1736 from @ide which would fix it too