forked from duckduckgo/iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
59 lines (48 loc) · 914 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
46
47
48
49
50
51
52
53
54
55
56
57
58
disabled_rules:
- discarded_notification_center_observer
- notification_center_detachment
- orphaned_doc_comment
- todo
- unused_capture_list
opt_in_rules:
- closure_end_indentation
- closure_spacing
- colon
- overridden_super_call
- unused_import
- fatal_error_message
force_cast: warning
force_try: warning
legacy_hashing: error
identifier_name:
min_length: 1
max_length:
warning: 40
error: 60
excluded:
- i
- id
- x
- y
- z
line_length:
warning: 150
ignores_urls: true
ignores_function_declarations: true
ignores_comments: true
vertical_whitespace:
max_empty_lines: 2
trailing_whitespace:
ignores_empty_lines: true
ignores_comments: true
private_over_fileprivate:
validate_extensions: true
type_name:
min_length: 3
max_length:
warning: 80
error: 100
# General Config
excluded:
- Carthage
- DuckDuckGo/UserText.swift