forked from AlphaWallet/alpha-wallet-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
59 lines (57 loc) · 1.16 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
swiftlint_version: 0.50.3
disabled_rules:
- cyclomatic_complexity
- force_cast
- force_try
- identifier_name
- nesting
- redundant_discardable_let
- todo
- trailing_comma
- trailing_newline
- trailing_whitespace
- type_name
- unused_optional_binding
- xctfail_message
- file_header
- private_over_fileprivate
- comment_spacing
- orphaned_doc_comment
- void_function_in_ternary
- inclusive_language
opt_in_rules:
- closure_end_indentation
- closure_spacing
- empty_count
- file_header
- multiline_parameters
included:
- AlphaWallet
- AlphaWalletTests
- AlphaWalletSafariExtension
- AlphaWalletShare
- modules
excluded:
- AlphaWallet/Vendors
- AlphaWallet/R.generated.swift
- AlphaWalletSafariExtension/Resources
- AlphaWallet/API.swift
- modules/AlphaWalletFoundation/AlphaWalletFoundation/NFT/Enjin/API.swift
- modules/*/Pods
function_parameter_count:
warning: 20
error: 25
line_length:
warning: 3250
error: 3600
large_tuple:
warning: 4
function_body_length: 80
file_length:
warning: 1000
error: 1200
type_body_length:
warning: 300
error: 500
superfluous_disable_command: warning
reporter: "xcode"