-
Notifications
You must be signed in to change notification settings - Fork 31
/
.swiftlint.yml
47 lines (42 loc) · 1.17 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
# https://github.com/realm/SwiftLint#configuration
disabled_rules:
- cyclomatic_complexity
- file_length
- function_body_length
- function_parameter_count
- notification_center_detachment
- type_body_length
- force_unwrapping
- inclusive_language
- line_length
- force_cast
- identifier_name
- force_try
- type_name
opt_in_rules:
- force_unwrapping
custom_rules:
open_brace_spacing:
name: "Opening brace should be followed by space or newline"
regex: '(\{[^\s^\}])'
message: "Opening brace should be followed by space or newline"
severity: warning
close_brace_spacing:
name: "Closing brace should be followed by space or newline"
regex: '([^\s^\{]\})'
message: "Closing brace should be followed by space or newline"
severity: warning
identifier_name:
excluded:
- id
- db
excluded:
- Pods
# Code from web
- ExponeaSDK/ExponeaSDK/Classes/Others/Reachability.swift
# Code from web
- ExponeaSDK/ExponeaSDK/Classes/Others/NSManagedObjectContext+Perform.swift
# Carthage checkouts
- Carthage
# SwiftSoup
- SwiftSoup