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

Fix or report all current swiftlint warnings in xcode #5100

Closed
wants to merge 1 commit into from

Conversation

rablador
Copy link
Contributor

@rablador rablador commented Sep 4, 2023

The goal is to go through the existing lint warnings and either fix them or disable + report them (in Linear).


This change is Reviewable

@linear
Copy link

linear bot commented Sep 4, 2023

IOS-296 Fix Swiftlint warnings in Xcode

Go through the existing warnings and either fix them or disable + report them (in Linear).

Copy link
Contributor Author

@rablador rablador left a comment

Choose a reason for hiding this comment

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

For the [weak self] caption warnings, see discussion in Linear: https://mullvad.slack.com/archives/C052D9X882U/p1693834413327759

I opted to go for guard let self = self and no explicit self in closure. Can easily be changed if other way is preferred.

Reviewable status: 0 of 48 files reviewed, all discussions resolved

@rablador rablador marked this pull request as draft September 5, 2023 07:16
@rablador rablador closed this Sep 5, 2023
@rablador rablador deleted the fix-swiftlint-warnings-in-xcode-ios-296 branch September 5, 2023 07:16
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