forked from instructure/canvas-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftlint.yml
More file actions
32 lines (29 loc) · 776 Bytes
/
.swiftlint.yml
File metadata and controls
32 lines (29 loc) · 776 Bytes
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
disabled_rules: # rule identifiers to exclude from running
- control_statement
- class_delegate_protocol
- todo
- nesting
- cyclomatic_complexity
- file_length
- type_body_length
- identifier_name
- function_parameter_count
opt_in_rules: # some rules are only opt-in
- yoda_condition
included: # paths to include during linting. `--path` is ignored if present.
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods
- Canvas # Student/Canvas
line_length: 200
function_body_length: 100
type_name:
min_length: 3
max_length: 50
identifier_name:
allowed_symbols: "_"
min_length: 1 # only min_length
max_length: 50
excluded: # excluded via string array
- access_token
trailing_comma:
mandatory_comma: true