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 SwiftLint #261

Closed
wants to merge 5 commits into from
Closed

Add SwiftLint #261

wants to merge 5 commits into from

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Jun 9, 2020

My hack week project for Q2 of 2020 is to add linters everywhere I can.

This PR adds SwiftLint to this pod, using at .swiftlint.yml config from the WordPress-iOS app.

There is an open PR on the SwiftLint repo to add support for a remote config file, which is what I'll try to do next.

@mokagio mokagio force-pushed the add-swiftlint branch 3 times, most recently from 513029c to 5d67ad6 Compare June 10, 2020 05:41
Relaxed the requirement because for the usage we do of CocoaPods in this
repo, any 1.x version will do.
I find this is a simpler way to add SwiftLint because by using a tool
that is already a required part of the setup, it doesn't need extra
scripts or commands that devs may forget to run.
@mokagio
Copy link
Contributor Author

mokagio commented Jun 10, 2022

Closing as stale.

Funny enough, I worked on SwiftLint for HACK Week Q2 2022 and the stuff done here was a great place to start. I hope to port the setup (wordpress-mobile/WordPressKit-iOS#517, wordpress-mobile/WordPressKit-iOS#519, wordpress-mobile/WordPressKit-iOS#518) here "soon".

@mokagio mokagio closed this Jun 10, 2022
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