-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
43 lines (40 loc) · 942 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
custom_rules:
print:
name: "print"
regex: 'print\(([^\)]*)\)'
message: "Use Logger.shared.logDebug() instead"
severity: warning
date_init:
name: "date_init"
regex: '(:?\s|\()Date\(\)'
message: "Use BeamDate.now instead"
severity: warning
disabled_rules:
- line_length
- todo
- comment_spacing
- superfluous_disable_command
- legacy_nsgeometry_functions
# configurable rules can be customized from this configuration file
# binary rules can set their severity level
function_parameter_count: 6
type_body_length:
- 300 # warning
- 1000 # error
identifier_name:
excluded:
- id
- me
min_length: 1
allowed_symbols: [_]
validates_start_with_lowercase: false
# paths to ignore during linting. Takes precedence over `included`.
excluded:
- Pods
- fastlane
- Extern
- Beam/Classes/Helpers/Utils/Web/Readability.js
- BeamTests
- BeamUITests
- SourcePackages
- .build