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

Add support for Pod based SwiftLint #2122

Merged
merged 3 commits into from
Dec 7, 2018
Merged

Add support for Pod based SwiftLint #2122

merged 3 commits into from
Dec 7, 2018

Conversation

gfontenot
Copy link
Contributor

It's common to add SwiftLint as a CocoaPod dependency, instead of as a global
binary. In this case we should use that version of SwiftLint before looking
for any others. Note that I'm also adding support for SwiftLint in ReactNative
projects here as well, where the Pods directory would be nested inside an ios
directory.

It's common to add SwiftLint as a CocoaPod dependency, instead of as a global
binary. In this case we should use that version of SwiftLint before looking
for any others. Note that I'm also adding support for SwiftLint in ReactNative
projects here as well, where the Pods directory would be nested inside an ios
directory.
Copy link
Member

@neersighted neersighted left a comment

Choose a reason for hiding this comment

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

This looks good to me, but I'd like to have tests for the functionality. Look at how the eslint tests are implemented for an example.

@gfontenot
Copy link
Contributor Author

Thanks for the pointer to the tests! I've added tests for the expected behavior.

@neersighted neersighted closed this Dec 7, 2018
@neersighted neersighted reopened this Dec 7, 2018
@neersighted neersighted merged commit 9226e13 into dense-analysis:master Dec 7, 2018
@neersighted
Copy link
Member

Cheers! 🍺

@gfontenot
Copy link
Contributor Author

Thanks!

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.

None yet

2 participants