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

[Update] Fix "Prefer Type Checking" linter warning #509

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

yo1995
Copy link
Collaborator

@yo1995 yo1995 commented Sep 20, 2024

Description

prefer_type_checking rule: https://realm.github.io/SwiftLint/prefer_type_checking.html

introduced in SwiftLint 0.55.0

@yo1995 yo1995 requested a review from a team September 20, 2024 21:38
@yo1995 yo1995 self-assigned this Sep 20, 2024
@yo1995 yo1995 requested review from njarecha and dfeinzimer and removed request for a team September 20, 2024 21:38
Copy link
Collaborator

@CalebRas CalebRas left a comment

Choose a reason for hiding this comment

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

Looks like this resolves the warning.

@yo1995 yo1995 removed the request for review from dfeinzimer September 20, 2024 21:57
@yo1995 yo1995 merged commit 929cb76 into v.next Sep 20, 2024
1 check passed
@yo1995 yo1995 deleted the Ting/FixLinterWarning branch September 20, 2024 21:57
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.

3 participants