aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/.swiftlint.yml
blob: 93c7ab37f96ba2dc3db12bbb455786aa057fb115 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
disabled_rules:
 - line_length
 - trailing_whitespace
 - todo
opt_in_rules:
 - empty_count
 - empty_string
 - implicitly_unwrapped_optional
 - legacy_random
 - let_var_whitespace
 - literal_expression_end_indentation
 - override_in_extension
 - redundant_type_annotation
 - toggle_bool
 - unneeded_parentheses_in_closure_argument
 - unused_import
# - trailing_closure
file_length:
  warning: 500
cyclomatic_complexity:
  warning: 10
  error: 25
function_body_length:
  warning: 45