Skip to content

Commit

Permalink
update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Dec 6, 2023
1 parent e2300a9 commit f9ff5ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .swiftlint.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ disabled_rules:
- block_based_kvo
- compiler_protocol_init
- unused_setter_value
- unused_closure_parameter
- line_length
- type_name
- force_cast
Expand All @@ -17,6 +18,9 @@ disabled_rules:
- trailing_comma
- blanket_disable_command
- nesting
- type_body_length
- opening_brace
- function_parameter_count

opt_in_rules:
- file_header
Expand All @@ -25,9 +29,6 @@ opt_in_rules:
file_length:
warning: 1800
error: 2000
type_body_length:
warning: 1000
error: 1500
large_tuple:
warning: 6
error: 10
Expand Down
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ disabled_rules:
- function_parameter_count
- trailing_comma
- nesting
- opening_brace

opt_in_rules:
- file_header
Expand Down

0 comments on commit f9ff5ef

Please sign in to comment.