]> git.openstreetmap.org Git - chef.git/blob - .rubocop_todo.yml
Remove duplicate hash entry
[chef.git] / .rubocop_todo.yml
1 # This configuration was generated by
2 # `rubocop --auto-gen-config`
3 # on 2015-08-18 22:54:59 +0100 using RuboCop version 0.33.0.
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: 1
10 Lint/HandleExceptions:
11   Exclude:
12     - 'cookbooks/networking/definitions/firewall_rule.rb'
13
14 # Offense count: 22
15 Metrics/AbcSize:
16   Max: 66
17
18 # Offense count: 3
19 Metrics/CyclomaticComplexity:
20   Max: 8
21
22 # Offense count: 338
23 # Configuration parameters: AllowURI, URISchemes.
24 Metrics/LineLength:
25   Max: 451
26
27 # Offense count: 23
28 # Configuration parameters: CountComments.
29 Metrics/MethodLength:
30   Max: 28
31
32 # Offense count: 1
33 Metrics/PerceivedComplexity:
34   Max: 9
35
36 # Offense count: 14
37 Style/Documentation:
38   Exclude:
39     - 'cookbooks/chef/libraries/compare_versions.rb'
40     - 'cookbooks/chef/libraries/edit_file.rb'
41     - 'cookbooks/chef/libraries/random_password.rb'
42     - 'cookbooks/chef/libraries/remote_directory.rb'
43     - 'cookbooks/chef/libraries/subversion.rb'
44     - 'cookbooks/hardware/libraries/sensors.rb'
45     - 'cookbooks/munin/libraries/expand.rb'
46     - 'cookbooks/mysql/libraries/mysql.rb'
47     - 'cookbooks/networking/libraries/interfaces.rb'
48     - 'cookbooks/networking/libraries/ipaddresses.rb'
49     - 'cookbooks/postgresql/libraries/postgresql.rb'
50     - 'cookbooks/tile/files/default/ruby/expire.rb'
51     - 'cookbooks/wordpress/libraries/wordpress.rb'
52
53 # Offense count: 19
54 # Cop supports --auto-correct.
55 # Configuration parameters: MaxLineLength.
56 Style/IfUnlessModifier:
57   Exclude:
58     - 'cookbooks/accounts/recipes/default.rb'
59     - 'cookbooks/apache/providers/conf.rb'
60     - 'cookbooks/apache/providers/module.rb'
61     - 'cookbooks/chef/libraries/compare_versions.rb'
62     - 'cookbooks/exim/recipes/default.rb'
63     - 'cookbooks/hardware/attributes/default.rb'
64     - 'cookbooks/hardware/recipes/default.rb'
65     - 'cookbooks/munin/recipes/default.rb'
66     - 'cookbooks/nodejs/recipes/default.rb'
67     - 'cookbooks/tile/files/default/ruby/expire.rb'
68     - 'cookbooks/tile/recipes/default.rb'
69     - 'cookbooks/tools/recipes/default.rb'
70     - 'cookbooks/web/recipes/cgimap.rb'
71
72 # Offense count: 28
73 # Cop supports --auto-correct.
74 Style/NumericLiterals:
75   MinDigits: 11