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

consistent iOS method spacing in generated code #148

Merged
merged 2 commits into from
Nov 15, 2019

Conversation

brodycj
Copy link
Owner

@brodycj brodycj commented Sep 20, 2019

  • continue using tabs in case of useAppleNetworking: true
  • with 4 spaces in case of no truthy useAppleNetworking option

with a comment removed in case of useAppleNetworking: true

Testing

  • npm t (npm test) ok
  • Travis CI build is green
  • ran on React Native 0.59
  • ran on React Native 0.61 as a view module

Not testing these:

  • generate a new module with an example that works on iOS with --use-cocoapods option
  • generate a new module with an example that works on iOS with no --use-cocoapods option
  • generate a new view module with an example that works on iOS (--use-cocoapods option should not matter for a view module)
  • generate a new module with an example that works on Apple tvOS (using the react-native-tvos fork) with --use-cocoapods option
  • generate a new module with an example that works on Apple tvOS (using the react-native-tvos fork) with no --use-cocoapods option
  • generate a new view module with an example that works on Apple tvOS (using the react-native-tvos fork)

/cc @timojaask @dlowder-salesforce

* continue using tabs in case of `useCocoapods: true`
* with 4 spaces in case of no truthy `useCocoapods` option

with a comment removed in case of `useCocoapods: true`
@brodycj brodycj self-assigned this Sep 20, 2019
@brodycj brodycj mentioned this pull request Sep 20, 2019
7 tasks
@brodycj brodycj changed the base branch from dev to master November 15, 2019 05:38
@brodycj brodycj merged commit ea02b73 into master Nov 15, 2019
@brodycj brodycj deleted the fix-ios-method-spacing branch November 15, 2019 07:02
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.

1 participant