Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enforcing Swiftlint Version #1367

Closed
Mazyod opened this issue Mar 19, 2017 · 2 comments
Closed

Enforcing Swiftlint Version #1367

Mazyod opened this issue Mar 19, 2017 · 2 comments
Labels
duplicate Issues that already exist in other terms.

Comments

@Mazyod
Copy link
Contributor

Mazyod commented Mar 19, 2017

Hey, we've just integrated swiftlint into our arcanist pipeline, and we're super exited about the results!

Just one problematic experience was that some developers ended up installing outdated version of swiftlint, which lead to some confusion. Considering that swiftlint isn't backwards compatible across all versions, would it make sense to possibly add a lock file or a min_version in .swiftlint.yml?

Thanks,
Maz

@marcelofabri
Copy link
Collaborator

Duplicate of #221. You can lock a version by installing with CocoaPods or by using swiftlint_version on your configuration file (#1134).

This last option is only available on master though.

@marcelofabri marcelofabri added the duplicate Issues that already exist in other terms. label Mar 19, 2017
@c0diq
Copy link

c0diq commented Oct 3, 2017

I have version 0.22 and but I see no warnings if I require a newer version of swiftlint for testing purposes.
I added that to my .swiftlint.yml file

swiftlint_version: 
  - 0.24.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate Issues that already exist in other terms.
Projects
None yet
Development

No branches or pull requests

3 participants