-
Notifications
You must be signed in to change notification settings - Fork 25k
[Lint]: update lint packages, fix lint errors #1874
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
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