Skip to content

Commit

Permalink
Update max length
Browse files Browse the repository at this point in the history
  • Loading branch information
levieggertcru committed Jul 15, 2024
1 parent 02c010c commit d506051
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ opt_in_rules: # some rules are turned off by default, so you need to opt-in
# - empty_count #disabling for now as this touches many files.
- empty_string
- enum_case_associated_values_count
- explicit_enum_raw_value
# - explicit_enum_raw_value #disabling for now as this touches many files.
# - explicit_type_interface
- fallthrough
- fatal_error_message
Expand All @@ -28,7 +28,7 @@ opt_in_rules: # some rules are turned off by default, so you need to opt-in
- function_default_parameter_at_end
- ibinspectable_in_extension
- identical_operands
# - implicit_return #Will disable for now as many warnings.
# - implicit_return #disabling for now as this touches many files.
- implicitly_unwrapped_optional
- indentation_width
- last_where
Expand All @@ -44,13 +44,13 @@ opt_in_rules: # some rules are turned off by default, so you need to opt-in
# - no_magic_numbers #disabling for now as this touches many files.
# - one_declaration_per_file #SwiftUI Preview breaks this, may need to update preview to use macros.
- operator_usage_whitespace
# - prefer_self_in_static_references #Disabling for now as touches many files.
# - prefer_self_in_static_references #disabling for now as this touches many files.
- prefer_self_type_over_type_of_self
- private_action
- private_outlet
- private_subject
- private_swiftui_state
- sorted_enum_cases
# - sorted_enum_cases #disabling for now as this touches many files.
- strict_fileprivate
- switch_case_on_newline
- toggle_bool
Expand Down Expand Up @@ -124,6 +124,9 @@ type_name:
identifier_name:
min_length: # only min_length
error: 4 # only error
max_length: # warning and error
warning: 80
error: 90
excluded: # excluded via string array
- id
- URL
Expand Down

0 comments on commit d506051

Please sign in to comment.