-
Notifications
You must be signed in to change notification settings - Fork 85
/
.swiftlint.yml
67 lines (56 loc) · 1.08 KB
/
.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# See test subconfiguration at `LaunchDarkly/LaunchDarklyTests/.swiftlint.yml`
disabled_rules:
- line_length
opt_in_rules:
- contains_over_filter_count
- contains_over_filter_is_empty
- contains_over_first_not_nil
- contains_over_range_nil_comparison
- empty_count
- first_where
- flatmap_over_map_reduce
- implicitly_unwrapped_optional
- let_var_whitespace
- missing_docs
- redundant_nil_coalescing
- sorted_first_last
- trailing_closure
- unused_declaration
- unused_import
- vertical_whitespace_closing_braces
included:
- LaunchDarkly/LaunchDarkly
- LaunchDarkly/LaunchDarklyTests
excluded:
function_body_length:
warning: 50
error: 70
type_body_length:
warning: 300
error: 500
file_length:
warning: 1000
error: 1500
identifier_name:
min_length: # only min_length
warning: 3 # only warning
max_length:
warning: 50
error: 60
excluded:
- id
- URL
- url
- obj
- key
- all
- tag
- lhs
- rhs
trailing_whitespace:
severity: error
missing_docs:
error:
- open
- public
reporter: "xcode"