blob: 07e9a6570ea605f2952d28a5365273b4a02888ad [file] [log] [blame]
Thibault Wittemberg14b092a2017-07-04 18:13:26 -04001disabled_rules: # rule identifiers to exclude from running
2
3opt_in_rules: # some rules are only opt-in
4 - empty_count
5
6excluded: # paths to ignore during linting. Takes precedence over `included`.
7 - Carthage
8 - Pods
9
10force_cast: warning # implicitly
11force_try:
12 severity: warning # explicitly
13
14type_body_length:
15 - 300 # warning
16 - 400 # error
17
18type_name:
19 min_length: 4 # only warning
20 max_length: # warning and error
21 warning: 40
22 error: 50
23 excluded: iPhone # excluded via string
24
25identifier_name:
26 min_length: # only min_length
27 error: 3 # only error
28 excluded: # excluded via string array
29 - id
30 - URL
31 - GlobalAPIKey
32
33reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji)
34
35function_body_length:
36 - 75
37 - 100
38
39file_length:
40 warning: 600
41 error: 1200
42
43line_length:
44 warning: 200
45 error: 250