Correct over aggressive search and replace
[chef.git] / .rubocop_todo.yml
1 # This configuration was generated by
2 # `rubocop --auto-gen-config`
3 # on 2016-10-20 21:45:03 +0100 using RuboCop version 0.44.1.
4 # The point is for the user to remove these configuration records
5 # one by one as the offenses are removed from the code base.
6 # Note that changes in the inspected code, or installation of new
7 # versions of RuboCop, may require this file to be generated again.
8
9 # Offense count: 22
10 Metrics/AbcSize:
11   Max: 57
12
13 # Offense count: 27
14 # Configuration parameters: CountComments.
15 Metrics/BlockLength:
16   Max: 361
17
18 # Offense count: 3
19 Metrics/CyclomaticComplexity:
20   Max: 8
21
22 # Offense count: 475
23 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
24 # URISchemes: http, https
25 Metrics/LineLength:
26   Max: 696
27
28 # Offense count: 24
29 # Configuration parameters: CountComments.
30 Metrics/MethodLength:
31   Max: 24
32
33 # Offense count: 1
34 Metrics/PerceivedComplexity:
35   Max: 9
36
37 # Offense count: 13
38 Style/Documentation:
39   Exclude:
40     - 'spec/**/*'
41     - 'test/**/*'
42     - 'cookbooks/chef/libraries/compare_versions.rb'
43     - 'cookbooks/chef/libraries/edit_file.rb'
44     - 'cookbooks/chef/libraries/random_password.rb'
45     - 'cookbooks/chef/libraries/subversion.rb'
46     - 'cookbooks/hardware/libraries/sensors.rb'
47     - 'cookbooks/munin/libraries/expand.rb'
48     - 'cookbooks/mysql/libraries/mysql.rb'
49     - 'cookbooks/networking/libraries/interfaces.rb'
50     - 'cookbooks/networking/libraries/ipaddresses.rb'
51     - 'cookbooks/postgresql/libraries/postgresql.rb'
52     - 'cookbooks/tile/files/default/ruby/expire.rb'
53     - 'cookbooks/wordpress/libraries/wordpress.rb'
54
55 # Offense count: 14
56 # Cop supports --auto-correct.
57 # Configuration parameters: MaxLineLength.
58 Style/IfUnlessModifier:
59   Exclude:
60     - 'cookbooks/accounts/recipes/default.rb'
61     - 'cookbooks/apache/providers/module.rb'
62     - 'cookbooks/chef/libraries/compare_versions.rb'
63     - 'cookbooks/exim/recipes/default.rb'
64     - 'cookbooks/hardware/attributes/default.rb'
65     - 'cookbooks/hardware/recipes/default.rb'
66     - 'cookbooks/munin/recipes/default.rb'
67     - 'cookbooks/nodejs/recipes/default.rb'
68     - 'cookbooks/tile/files/default/ruby/expire.rb'
69     - 'cookbooks/tools/recipes/default.rb'
70
71 # Offense count: 37
72 # Cop supports --auto-correct.
73 Style/NumericLiterals:
74   MinDigits: 11