wireguard-apple/WireGuard/.swiftlint.yml

28 lines
525 B
YAML

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
variable_name:
min_length:
warning: 0