-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.swiftlint.yml
31 lines (25 loc) · 965 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
included: # paths to include during linting. `--path` is ignored if present.
- BuckoNetworking
- BuckoNetworkingTests
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
opt_in_rules:
- closure_spacing # Closure expressions should have a single space inside each brace.
- closure_end_indentation # Closure end should have the same indentation as the line that started it.
- operator_usage_whitespace # Operators should be surrounded by a single whitespace.
- explicit_init # Explicitly calling .init() should be avoided.
- nimble_operator # Prefer Nimble operator overloads over free matcher functions.
- fatal_error_message # Ensure fatalError() calls have a message.
identifier_name:
excluded:
- id
- to
force_cast: warning
force_try: warning
line_length:
warning: 100
ignores_function_declarations: true
ignores_comments: true
trailing_whitespace:
ignores_empty_lines: true