forked from trustwallet/trust-wallet-ios
-
Notifications
You must be signed in to change notification settings - Fork 164
/
.swiftlint.yml
45 lines (45 loc) · 898 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.29.4
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:
- KyberNetwork
excluded:
- KyberNetwork/Vendors
- KyberNetwork/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"