-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swiftlint.yml
52 lines (44 loc) · 892 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
reporter: "xcode"
excluded:
- DerivedData
- Pods
- Screenshots/SnapshotHelper.swift
disabled_rules:
- identifier_name
- type_name
- weak_delegate
- trailing_whitespace
- class_delegate_protocol
- todo
- nesting
- multiple_closures_with_trailing_closure # For SwiftUI
opt_in_rules:
- empty_count
- empty_string
- explicit_init
- first_where
- force_unwrapping
- last_where
- legacy_multiple
- mark
- modifier_order
- nslocalizedstring_key
- operator_usage_whitespace
- overridden_super_call
- private_action
- redundant_nil_coalescing
- single_test_class
- sorted_first_last
- sorted_imports
- unowned_variable_capture
- unused_import
- vertical_whitespace_between_cases
force_try:
severity: error
force_unwrapping:
severity: error
line_length:
warning: 120
ignores_comments: true
type_body_length:
warning: 400