-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy path.swiftlint.yml
More file actions
55 lines (51 loc) · 1.21 KB
/
.swiftlint.yml
File metadata and controls
55 lines (51 loc) · 1.21 KB
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
included:
- Sources/Core/AWSClientRuntime/Sources
- Sources/Core/AWSSDKChecksums/Sources
- Sources/Core/AWSSDKCommon/Sources
- Sources/Core/AWSSDKEventStreamsAuth/Sources
- Sources/Core/AWSSDKHTTPAuth/Sources
- Sources/Core/AWSSDKIdentity/Sources
- Sources/Core/AWSSDKIdentityAPI/Sources
- Sources/Core/AWSSDKPartitions/Sources
analyzer_rules:
- unused_import
- unused_declaration
disabled_rules:
- todo
- identifier_name
- compiler_protocol_init
- function_parameter_count
- multiple_closures_with_trailing_closure
- cyclomatic_complexity
- file_length
- syntactic_sugar
- nesting
- function_name_whitespace
- large_tuple
- trailing_comma
- non_optional_string_data_conversion
opt_in_rules:
- empty_count
- sorted_imports
# configurable rules can be customized from this configuration file
force_cast: warning
closing_brace: error
colon:
severity: error
comma: error
empty_count: warning
empty_enum_arguments: error
function_body_length:
warning: 100
error: 150
generic_type_name:
max_length: 48
line_length:
warning: 120
error: 160
ignores_comments: true
opening_brace: error
return_arrow_whitespace: error
statement_position:
severity: error
trailing_semicolon: error