-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.swiftlint.yml
54 lines (47 loc) · 900 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
49
50
51
52
53
54
excluded:
- Package.swift
- Tests
- .build/
included:
- Sources
disabled_rules:
- block_based_kvo
- class_delegate_protocol
- colon
- cyclomatic_complexity
- explicit_enum_raw_value
- force_cast
- force_try
- force_unwrapping
- function_body_length
- function_parameter_count
- generic_type_name
- identifier_name
- large_tuple
- nesting
- opening_brace
- redundant_string_enum_value
- switch_case_on_newline
- switch_case_alignment
- trailing_comma
- type_body_length
- type_name
implicit_return:
included:
- closure
file_length:
warning: 400
error: 1000
ignore_comment_only_lines: true
line_length:
warning: 150
error: 160
ignores_urls: true
ignores_comments: true
ignores_function_declarations: true
generic_type_name:
min_length: 2
attributes:
always_on_line_above:
- "@usableFromInline"
- "@inlinable"