-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.swiftlint.yml
More file actions
40 lines (40 loc) · 934 Bytes
/
.swiftlint.yml
File metadata and controls
40 lines (40 loc) · 934 Bytes
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
excluded:
- fastlane
- vendor
- Windscribe/WireGuard
- Pods
- build
- WindscribeTests
- PacketTunnel
- SiriIntents
- WireGuardTunnel
- HomeWidget
- Windscribe/Configurations
- Windscribe/scrtips
- MockingbirdMocks
disabled_rules:
- non_optional_string_data_conversion
- cyclomatic_complexity
- trailing_whitespace
- line_length
- legacy_constructor
- comma
- function_parameter_count
- unused_enumerated
- inclusive_language
type_body_length:
- 500 # warning
- 1500 # error
file_length:
warning: 800
error: 1500
identifier_name:
min_length:
warning: 1
function_body_length: 600
# custom_rules:
# empty_line_before_closing_brace:
# name: "Empty Line before closing brace"
# regex: '(^[ a-zA-Z ]*(?:protocol|extension|class|struct) (?!(?:var|let))[ a-zA-Z:]*\{\n *\S+)'
# message: "There should be an empty line after a declaration"
# severity: error