-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
46 lines (46 loc) · 987 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
excluded:
- Pods
- ThirdParty
- SignalServiceKit/src/Protos/Generated
# SwiftLint has trouble with these files. See <https://github.com/realm/SwiftLint/issues/3988>.
- Signal/src/util/Emoji/Emoji+SkinTones.swift
- Signal/src/util/Emoji/EmojiWithSkinTones+String.swift
disabled_rules:
- block_based_kvo
- cyclomatic_complexity
- file_length
- for_where
- force_cast
- force_try
- function_body_length
- function_parameter_count
- identifier_name
- line_length
- multiple_closures_with_trailing_closure
- nesting
- notification_center_detachment
- todo
- type_body_length
- unused_closure_parameter
opt_in_rules:
- attributes
- comma_inheritance
- empty_string
- sorted_first_last
attributes:
always_on_line_above: ["@objc", "@nonobjc"]
inclusive_language:
override_allowed_terms: ["master", "whitelist"]
large_tuple:
warning: 4
error: 4
type_name:
min_length:
warning: 2
error: 2
max_length:
warning: 500
error: 500
excluded:
- Id
allowed_symbols: ["_"]