You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to specify different line numbers to the type_body_length rule when it comes to subtypes in comparison to types. This could either be done by providing an option to the existing rule type_body_length or by creating a new rule named subtype_body_length.
Specifically, we would like to keep the SwiftLint default warnings and error values for type_body_length (which are set at 200 and 350 right now) but we would like to limit the length of subtypey to 20 (warning) and 35 (error).
I would be happy to implement this myself, but which of the two above ways do you think makes more sense? I'm guessing introducing a new rule will be the easier solution. Do you agree?
The text was updated successfully, but these errors were encountered:
We would like to specify different line numbers to the type_body_length rule when it comes to subtypes in comparison to types. This could either be done by providing an option to the existing rule
type_body_length
or by creating a new rule namedsubtype_body_length
.Specifically, we would like to keep the SwiftLint default warnings and error values for
type_body_length
(which are set at200
and350
right now) but we would like to limit the length of subtypey to20
(warning) and35
(error).I would be happy to implement this myself, but which of the two above ways do you think makes more sense? I'm guessing introducing a new rule will be the easier solution. Do you agree?
The text was updated successfully, but these errors were encountered: