-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
71 lines (63 loc) · 1015 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Leka - iOS Monorepo
# Copyright APF France handicap
# SPDX-License-Identifier: Apache-2.0
opt_in_rules: []
trailing_comma:
mandatory_comma: true
type_name:
min_length: 4 # only warning
max_length: # warning and error
warning: 40
error: 50
allowed_symbols: ["_"] # these are allowed in type names
excluded:
- i18n
- l10n
identifier_name:
min_length: # only min_length
error: 4 # only error
excluded:
- a
- app
- args
- b
- ble
- BLE
- cmd
- g
- hmi
- HMI
- hmis
- HMIs
- i
- i18n
- id
- img
- key
- l10n
- lhs
- log
- new
- r
- red
- rgb
- rhs
- rx
- sha
- tag
- tx
- uid
- url
- URL
line_length:
warning: 150
ignores_urls: true
ignores_function_declarations: true
ignores_interpolated_strings: true
disabled_rules:
- opening_brace
- switch_case_alignment
- closure_parameter_position
excluded:
- Tuist/.build
reporter: "emoji"