forked from trustwallet/trust-wallet-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
45 lines (45 loc) · 877 Bytes
/
.swiftlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
swiftlint_version: 0.21.0
disabled_rules:
- cyclomatic_complexity
- force_cast
- force_try
- identifier_name
- nesting
- redundant_discardable_let
- todo
- type_name
- unused_optional_binding
- xctfail_message
opt_in_rules:
- closure_end_indentation
- closure_spacing
- empty_count
- file_header
- multiline_parameters
- vertical_parameter_alignment_on_call
included:
- Trust
excluded:
- Trust/Vendors
- Trust/R.generated.swift
function_parameter_count:
warning: 20
error: 25
line_length:
warning: 250
error: 450
large_tuple:
warning: 4
type_body_length:
warning: 450
error: 650
function_body_length: 80
file_length:
warning: 600
error: 1200
trailing_comma:
mandatory_comma: true
file_header:
required_pattern: "// Copyright SIX DAY LLC. All rights reserved.\n"
superfluous_disable_command: warning
reporter: "xcode"