]> git.openstreetmap.org Git - chef.git/blob - .rubocop_todo.yml
Configure odin as a tile server
[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: 363
17
18 Metrics/BlockNesting:
19   Max: 4
20
21 # Offense count: 3
22 Metrics/CyclomaticComplexity:
23   Max: 8
24
25 # Offense count: 475
26 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
27 # URISchemes: http, https
28 Metrics/LineLength:
29   Max: 704
30
31 # Offense count: 24
32 # Configuration parameters: CountComments.
33 Metrics/MethodLength:
34   Max: 24
35
36 # Offense count: 1
37 Metrics/PerceivedComplexity:
38   Max: 9
39
40 # Offense count: 13
41 Style/Documentation:
42   Exclude:
43     - 'spec/**/*'
44     - 'test/**/*'
45     - 'cookbooks/chef/libraries/compare_versions.rb'
46     - 'cookbooks/chef/libraries/edit_file.rb'
47     - 'cookbooks/chef/libraries/random_password.rb'
48     - 'cookbooks/chef/libraries/subversion.rb'
49     - 'cookbooks/hardware/libraries/sensors.rb'
50     - 'cookbooks/munin/libraries/expand.rb'
51     - 'cookbooks/mysql/libraries/mysql.rb'
52     - 'cookbooks/networking/libraries/interfaces.rb'
53     - 'cookbooks/networking/libraries/ipaddresses.rb'
54     - 'cookbooks/postgresql/libraries/postgresql.rb'
55     - 'cookbooks/tile/files/default/ruby/expire.rb'
56     - 'cookbooks/wordpress/libraries/wordpress.rb'
57
58 # Offense count: 14
59 # Cop supports --auto-correct.
60 # Configuration parameters: MaxLineLength.
61 Style/IfUnlessModifier:
62   Exclude:
63     - 'cookbooks/accounts/recipes/default.rb'
64     - 'cookbooks/apache/providers/module.rb'
65     - 'cookbooks/chef/libraries/compare_versions.rb'
66     - 'cookbooks/exim/recipes/default.rb'
67     - 'cookbooks/hardware/attributes/default.rb'
68     - 'cookbooks/hardware/recipes/default.rb'
69     - 'cookbooks/munin/recipes/default.rb'
70     - 'cookbooks/nodejs/recipes/default.rb'
71     - 'cookbooks/tile/files/default/ruby/expire.rb'
72     - 'cookbooks/tools/recipes/default.rb'
73
74 # Offense count: 37
75 # Cop supports --auto-correct.
76 Style/NumericLiterals:
77   MinDigits: 11