blob: d3b6db03e794067b6d068bfe68acc9cd4587f25f [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
Kateryna Kostiuk8fe122e2017-09-13 17:09:51 -040010 - Ring/Constants
Thibault Wittemberg14b092a2017-07-04 18:13:26 -040011
12force_cast: warning # implicitly
13force_try:
14 severity: warning # explicitly
15
16type_body_length:
17 - 300 # warning
18 - 400 # error
19
20type_name:
21 min_length: 4 # only warning
22 max_length: # warning and error
23 warning: 40
24 error: 50
25 excluded: iPhone # excluded via string
26
27identifier_name:
28 min_length: # only min_length
29 error: 3 # only error
30 excluded: # excluded via string array
31 - id
32 - URL
33 - GlobalAPIKey
34
35reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji)
36
37function_body_length:
38 - 75
39 - 100
40
41file_length:
42 warning: 600
43 error: 1200
44
45line_length:
46 warning: 200
47 error: 250