-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swiftlint.yml
57 lines (53 loc) · 1.21 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
50
51
52
53
54
55
56
57
# All rules : https://github.com/realm/SwiftLint/tree/master/Source/SwiftLintFramework/Rules
included:
- Sources
- Tests
excluded:
- Pods
disabled_rules:
- attributes
- colon
- cyclomatic_complexity
- file_header
- file_length
- function_body_length
- function_parameter_count
- identifier_name
- large_tuple
- line_length
- number_separator
- nesting
- statement_position
- type_name
- vertical_parameter_alignment
opt_in_rules:
- attributes
- closure_end_indentation
- closure_parameter_position
- closure_spacing
- empty_count
- explicit_init
- first_where
- nimble_operator
- number_separator
- object_literal
- operator_usage_whitespace
- overridden_super_call
- prohibited_super_call
- redundant_nil_coalescing
- sorted_imports
- trailing_comma
- weak_delegate
file_header:
required_pattern: |
\/\/
\/\/ .*?\.swift
\/\/ Pixel
\/\/
\/\/ Created by .*? on \d{1,2}\/\d{1,2}\/\d{2}\.
\/\/ Copyright © \d{4} José Donor\. All rights reserved\.
\/\/
vertical_whitespace:
max_empty_lines: 3
type_name:
min_length: 1