-
Notifications
You must be signed in to change notification settings - Fork 4
/
.swiftlint.yml
49 lines (43 loc) · 1014 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
excluded:
- Carthage
- Examples
- Tests/InstallationTests
- Tests/TestingApps
- Tests/APITesters
- vendor
- scan_derived_data
- .git
- .build
opt_in_rules:
- sorted_imports
- missing_docs
- convenience_type
- multiline_parameters
- vertical_parameter_alignment
- vertical_parameter_alignment_on_call
- explicit_init
disabled_rules:
- orphaned_doc_comment
- blanket_disable_command
# Broken: https://github.com/realm/SwiftLint/issues/5153
- unneeded_synthesized_initializer
- non_optional_string_data_conversion
- static_over_final_class
custom_rules:
xctestcase_superclass:
included: ".*\\.swift"
excluded:
- Tests/ReceiptParserTests
- Tests/v3LoadShedderIntegration
regex: "\\: XCTestCase \\{"
name: "XCTestCase Superclass"
message: "Test classes must inherit `TestCase` instead."
identifier_name:
max_length:
warning: 60
error: 80
large_tuple:
warning: 4
error: 5
missing_docs:
excludes_inherited_types: false