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