forked from CombineCommunity/CombineCocoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
37 lines (35 loc) · 980 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
opt_in_rules:
- overridden_super_call
- prohibited_super_call
- extension_access_modifier
- first_where
- closure_spacing
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
- redundant_nil_coalescing
- pattern_matching_keywords
- explicit_init
- fatal_error_message
- contains_over_first_not_nil
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
- file_header
disabled_rules:
- nesting
- line_length
- cyclomatic_complexity
- function_parameter_count
- large_tuple
file_header:
required_pattern: |
\/\/
\/\/ SWIFTLINT_CURRENT_FILENAME
\/\/ CombineCocoa
\/\/
\/\/ Created by .*? on \d{1,2}\/\d{1,2}\/\d{2,4}\.
\/\/ Copyright © \d{4} Combine Community\. All rights reserved\.
\/\/
identifier_name:
max_length: 60