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

Suppress swiftlint warnings #143

Merged
merged 1 commit into from
Sep 14, 2024
Merged

Suppress swiftlint warnings #143

merged 1 commit into from
Sep 14, 2024

Conversation

mtj0928
Copy link
Collaborator

@mtj0928 mtj0928 commented Sep 14, 2024

In #142, I found there were codes violating optional_data_string_conversion.
In this PR, I addressed the warnings.

@mtj0928
Copy link
Collaborator Author

mtj0928 commented Sep 14, 2024

Oh, lint was failed...

@mtj0928
Copy link
Collaborator Author

mtj0928 commented Sep 14, 2024

In #142, swiftlint version is 0.57.0.
However, in this PR, 0.56.2 is used...

@mtj0928 mtj0928 requested a review from giginet September 14, 2024 04:21
Copy link
Owner

@giginet giginet left a comment

Choose a reason for hiding this comment

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

Thanks!

@giginet
Copy link
Owner

giginet commented Sep 14, 2024

We don't manage the SwiftLint version because it's a bit of a hassle.

I have no idea why SwiftLint version was different with each worker...

@giginet
Copy link
Owner

giginet commented Sep 14, 2024

We may ignore non_optional_string_data_conversion at this time

@mtj0928
Copy link
Collaborator Author

mtj0928 commented Sep 14, 2024

We may ignore non_optional_string_data_conversion at this time

Should we use swiftlint:dsaible:this at these lines or prepare a configuration file?
I will follow your decision!

@giginet
Copy link
Owner

giginet commented Sep 14, 2024

Could you update the configuration file?
https://github.com/giginet/Scipio/blob/main/.swiftlint.yml

@mtj0928
Copy link
Collaborator Author

mtj0928 commented Sep 14, 2024

@giginet I disabled the command and confirmed that there are no violations in both versions 0.56.2 and 0.57.0!

@giginet giginet merged commit 91f7883 into giginet:main Sep 14, 2024
4 checks passed
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.

2 participants