-
Notifications
You must be signed in to change notification settings - Fork 11
/
.swiftlint.yml
32 lines (24 loc) · 926 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
excluded: # case-sensitive paths to ignore during linting. Takes precedence over `included`
- Carthage
- Pods
- ArkanaKeys
- MockingbirdSupport
opt_in_rules:
# Prefer checking isEmpty over comparing count to zero
- empty_count
# Force casts should be avoided
- force_cast
# Force unwrapping should be avoided
- force_unwrapping
# Header comments should be consistent with project patterns.
- file_header
# MARK comment should be in valid format. e.g. ‘// MARK: …’ or ‘// MARK: - …’
- mark
# Function parameters should be aligned vertically if they’re in multiple lines in a method call
- vertical_parameter_alignment_on_call
# Use shorthand syntax for optional binding
- shorthand_optional_binding
disabled_rules: # rule identifiers turned on by default to exclude from running
# TODOs and FIXMEs should be resolved.
- todo
- trailing_whitespace