Skip to content

Commit accb4cc

Browse files
committed
project init + cocoapods + swift lint
0 parents  commit accb4cc

File tree

32 files changed

+1603
-0
lines changed

32 files changed

+1603
-0
lines changed

.swiftlint.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
disabled_rules:
2+
- void_return
3+
- identifier_name
4+
- trailing_whitespace
5+
opt_in_rules:
6+
- anyobject_protocol
7+
- closure_spacing
8+
- collection_alignment
9+
- conditional_returns_on_newline
10+
- convenience_type
11+
- cyclomatic_complexity
12+
- discouraged_object_literal
13+
- unused_declaration
14+
15+
included:
16+
- Atter
17+
18+
line_length:
19+
- 150
20+
- 180
21+
22+
type_body_length:
23+
- 200 #warning
24+
- 300 #error
25+
26+
file_length:
27+
- 350
28+
- 400
29+
30+
type_name:
31+
min_length: 3
32+
max_length:
33+
warning: 40
34+
error: 50
35+
36+
nesting:
37+
type_level: 3
38+
statement_level: 3
39+
40+
function_body_length:
41+
- 50 #warning
42+
- 60 #error

0 commit comments

Comments
 (0)