-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy path.swiftlint.yml
More file actions
41 lines (41 loc) · 745 Bytes
/
.swiftlint.yml
File metadata and controls
41 lines (41 loc) · 745 Bytes
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
excluded:
- scan_derived_data
- fastlane
- vendor
- .build
- DerivedData
- "**/SwiftSoup/**"
- "**/.build/**"
- "Features/**/.build/**"
- "Data/.build/**"
- "**/.DerivedData/**"
- build
- "**/build/**"
# Exclude all tests from linting
- "**/Tests/**"
- "**/*Tests.swift"
- "HackersTests"
reporter: "xcode"
warning_threshold: 1000
# Don't fail build on violations during development
strict: false
opt_in_rules:
- convenience_type
- empty_count
- empty_string
- fatal_error_message
- first_where
- modifier_order
- toggle_bool
- overridden_super_call
type_name:
excluded:
- T
allowed_symbols:
- _Previews
identifier_name:
excluded:
- id
- by
allowed_symbols:
- _body