-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftlint.yml
More file actions
47 lines (42 loc) · 848 Bytes
/
Copy path.swiftlint.yml
File metadata and controls
47 lines (42 loc) · 848 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
42
43
44
45
46
47
# SaneApps Canonical SwiftLint Configuration
# Source of truth: infra/SaneProcess/templates/swiftlint.yml
# Sync via: ruby scripts/sync_check.rb --fix
#
# Per-app overrides: Add an `included:` section if needed.
# Do NOT change disabled_rules or opt_in_rules per-app.
disabled_rules:
- trailing_whitespace
- todo
- identifier_name
- line_length
- type_body_length
- function_body_length
- cyclomatic_complexity
- nesting
- shorthand_operator
file_length:
warning: 800
error: 1000
opt_in_rules:
- empty_count
- empty_string
- force_cast
- force_try
force_cast: error
force_try: error
excluded:
- Carthage
- Pods
- DerivedData
- .build
- SaneHostsPackage/.build
- .swiftpm
- SourcePackages
- Tests
- SaneHostsPackage/Tests
- Scripts
- scripts
- build
- outputs
- vendor
- node_modules