forked from meilisearch/meilisearch-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
48 lines (40 loc) · 864 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
44
45
46
47
48
disabled_rules:
- todo
- type_body_length
- file_length
# should be re-enabled
- nesting
# should be re-enabled
- xctfail_message
- identifier_name
- function_body_length
- trailing_comma
analyzer_rules:
- unused_declaration
- unused_import
opt_in_rules:
# - explicit_type_interface should be uncommented
- force_unwrapping
- implicit_return
- attributes
- closure_end_indentation
- closure_spacing
- conditional_returns_on_newline
- empty_string
- contains_over_first_not_nil
- indentation_width
excluded:
- Carthage
- Pods
- .build
- Demos/VaporDemo/.build
- Demos/PerfectDemo/.build
force_cast: warning
force_try: warning
explicit_type_interface:
severity: warning
line_length: 200
indentation_width:
indentation_width: 2
include_comments: false
child_config: ./Tests/.swiftlint_for_tests.yml