-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.swiftlint.yml
49 lines (49 loc) · 1.04 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
48
49
disabled_rules:
- todo
- nesting
- cyclomatic_complexity
- file_length
- type_body_length
- identifier_name
- function_parameter_count
opt_in_rules:
- closure_spacing
- empty_collection_literal
- no_extension_access_modifier
- file_header
- file_name
- file_types_order
- implicit_return
- lower_acl_than_parent
- multiline_literal_brackets
- multiline_parameters
- multiline_parameters_brackets
- number_separator
- override_in_extension
- pattern_matching_keywords
- sorted_imports
- unneeded_parentheses_in_closure_argument
- unused_import
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
- xct_specific_matcher
- yoda_condition
included:
excluded:
- Tests/swshTests/XCTestManifests.swift
line_length: 120
function_body_length: 100
type_name:
min_length: 3
max_length: 50
identifier_name:
allowed_symbols: "_"
min_length: 1
max_length: 50
trailing_comma:
mandatory_comma: true
file_name:
excluded:
- Errors.swift
- XCTestManifests.swift
- Utilities.swift