-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Refactor FXIOS-7301 [Swiftlint] Remove 1 closure_body_length violation from MainMenuMiddleware.swift and decrease threshold #23830
Merged
FilippoZazzeroni
merged 19 commits into
mozilla-mobile:main
from
ionixjunior:issue_16442_part_XXXVIII
Dec 20, 2024
Merged
Refactor FXIOS-7301 [Swiftlint] Remove 1 closure_body_length violation from MainMenuMiddleware.swift and decrease threshold #23830
FilippoZazzeroni
merged 19 commits into
mozilla-mobile:main
from
ionixjunior:issue_16442_part_XXXVIII
Dec 20, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lmarceau
changed the title
Refactor FXIOS-7301 - Remove 1 closure_body_length violation from MainMenuMiddleware.swift and decrease threshold
Refactor FXIOS-7301 [Swiftlint] Remove 1 closure_body_length violation from MainMenuMiddleware.swift and decrease threshold
Dec 18, 2024
FilippoZazzeroni
approved these changes
Dec 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 🎉
Client.app: Coverage: 32.04
Generated by 🚫 Danger Swift against 3b1aae7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📜 Tickets
Jira ticket
Github issue
💡 Description
This PR removes 1
closure_body_length
violation from theMainMenuMiddleware.swift
file. Also, this PR decrease the warning and error threshold to 71.Before this PR, this class spans 87 lines in
mainMenuProvider
property, and now spans 43 lines. If we want to reach the default warning threshold, we need to improve this implementation.This PR is part of a series of PRs described here #16442 (comment) and here #16442 (comment).
📝 Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)