forked from Kitura/BlueSSLService
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
37 lines (37 loc) · 855 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
included:
- Sources
- Tests
disabled_rules:
- trailing_newline
- force_cast
- function_body_length
- variable_name
- line_length
- trailing_whitespace
- type_name
- type_body_length
- todo
- file_length
- leading_whitespace
- mark
- function_parameter_count
- cyclomatic_complexity
- colon
- fallthrough
- empty_enum_arguments
- unused_optional_binding
- empty_parentheses_with_trailing_closure
- closure_parameter_position
- vertical_whitespace
- trailing_comma
- xctfail_message
- class_delegate_protocol
- redundant_optional_initialization
custom_rules:
double_space:
include: "*.swift"
name: "Double space"
regex: "([a-z,A-Z] \\s+)"
message: "Double space between keywords"
match_kinds: keyword
severity: warning