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

SwiftLint file_length and type_body_length adjusted #659

Merged
merged 7 commits into from
Aug 6, 2022

Conversation

tomasstrba
Copy link
Contributor

@tomasstrba tomasstrba commented Jul 27, 2022

Task/Issue URL: https://app.asana.com/0/1201037661562251/1202660438974076/f
CC:

Description:
PR adjusts SwiftLint limits for file_length and type_body_length to achieve a reasonable ballance
file_length changed from 700 to 1200 (Reduced commands to disable from 10 to 1)
type_body_length changed from 200 to 500 (Reduced commands to disable from 14 to 3)

Steps to test this PR:

  1. Make sure target compiles successfully and there is no SwiftLint warning

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@tomasstrba tomasstrba self-assigned this Jul 29, 2022
@tomasstrba
Copy link
Contributor Author

TBD: disable line_length globally

@tomasstrba tomasstrba removed their assignment Aug 3, 2022
@tomasstrba
Copy link
Contributor Author

This is ready for a review :)

@ayoy ayoy self-assigned this Aug 5, 2022
Also remove line_length configuration from .swiftlint.yml since it has been disabled,
and as such it produces a compile warning.
Copy link
Collaborator

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

LGTM! 👏 I checked out the code and got 3 warnings so I fixed them and pushed another commit on top of your changes. I hope that's fine :)

@ayoy ayoy assigned tomasstrba and unassigned ayoy Aug 5, 2022
@tomasstrba tomasstrba merged commit 760a594 into develop Aug 6, 2022
@tomasstrba tomasstrba deleted the tom/swiftlint-configuration branch August 6, 2022 13:58
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