Thibault Wittemberg | 14b092a | 2017-07-04 18:13:26 -0400 | [diff] [blame] | 1 | disabled_rules: # rule identifiers to exclude from running |
Thibault Wittemberg | d28b748 | 2017-07-06 17:58:30 -0400 | [diff] [blame] | 2 | - todo |
Thibault Wittemberg | 14b092a | 2017-07-04 18:13:26 -0400 | [diff] [blame] | 3 | |
| 4 | opt_in_rules: # some rules are only opt-in |
| 5 | - empty_count |
| 6 | |
| 7 | excluded: # paths to ignore during linting. Takes precedence over `included`. |
| 8 | - Carthage |
| 9 | - Pods |
Kateryna Kostiuk | 8fe122e | 2017-09-13 17:09:51 -0400 | [diff] [blame] | 10 | - Ring/Constants |
Thibault Wittemberg | 14b092a | 2017-07-04 18:13:26 -0400 | [diff] [blame] | 11 | |
| 12 | force_cast: warning # implicitly |
| 13 | force_try: |
| 14 | severity: warning # explicitly |
| 15 | |
| 16 | type_body_length: |
| 17 | - 300 # warning |
| 18 | - 400 # error |
| 19 | |
| 20 | type_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 | |
| 27 | identifier_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 | |
| 35 | reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji) |
| 36 | |
| 37 | function_body_length: |
| 38 | - 75 |
| 39 | - 100 |
| 40 | |
| 41 | file_length: |
| 42 | warning: 600 |
| 43 | error: 1200 |
| 44 | |
| 45 | line_length: |
| 46 | warning: 200 |
| 47 | error: 250 |