-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.rubocop_todo.yml
92 lines (78 loc) · 2.6 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-07-01 15:56:14 +0100 using RuboCop version 0.52.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
# Configuration parameters: Include.
# Include: **/Gemfile, **/gems.rb
Bundler/DuplicatedGem:
Exclude:
- 'Gemfile'
# Offense count: 4
Metrics/AbcSize:
Max: 47
# Offense count: 2
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 159
# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 267
# Offense count: 5
Metrics/CyclomaticComplexity:
Max: 9
# Offense count: 1
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 208
# Offense count: 10
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 30
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 253
# Offense count: 3
Metrics/PerceivedComplexity:
Max: 8
# Offense count: 2
RSpec/SubjectStub:
Exclude:
- 'spec/lib/actors/apply_authorities_spec.rb'
# Offense count: 6
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb
Rails/Exit:
Exclude:
- 'lib/**/*.rake'
- 'lib/generators/dog_biscuits/attribute_rows_generator.rb'
- 'lib/generators/dog_biscuits/imagify_generator.rb'
- 'lib/generators/dog_biscuits/locales_generator.rb'
- 'lib/generators/dog_biscuits/work/work_generator.rb'
# Offense count: 2
Rails/OutputSafety:
Exclude:
- 'lib/generators/dog_biscuits/templates/app/renderers/package_ids_renderer.rb'
- 'lib/generators/dog_biscuits/templates/app/renderers/packaged_by_ids_renderer.rb'
# Offense count: 7
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/dog_biscuits/models/authority.rb'
- 'lib/generators/dog_biscuits/catalog_controller_generator.rb'
- 'lib/generators/dog_biscuits/controlled_properties_generator.rb'
- 'lib/generators/dog_biscuits/install_generator.rb'
- 'lib/generators/dog_biscuits/locales_generator.rb'
- 'lib/generators/dog_biscuits/work/work_generator.rb'
# Offense count: 3
Style/IfInsideElse:
Exclude:
- 'lib/generators/dog_biscuits/attribute_rows_generator.rb'
- 'lib/generators/dog_biscuits/imagify_generator.rb'
- 'lib/generators/dog_biscuits/locales_generator.rb'