-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop_todo.yml
92 lines (78 loc) · 2.74 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 2022-12-16 12:50:16 UTC using RuboCop version 1.39.0.
# 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: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 189
Exclude:
- 'lib/csvbuilder/importer/internal/import/csv.rb'
- 'lib/csvbuilder/importer/public/import/file.rb'
- 'spec/csvbuilder/importer/public/import/file_spec.rb'
# Offense count: 1
Lint/RescueException:
Exclude:
- 'lib/csvbuilder/importer/internal/import/csv.rb'
# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 22
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 29
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 15
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 242
# Offense count: 7
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 15
# Offense count: 24
RSpec/MultipleExpectations:
Max: 13
# Offense count: 4
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 7
# Offense count: 4
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 5
# Offense count: 1
# Configuration parameters: AllowedPatterns.
# AllowedPatterns: ^expect_, ^assert_
RSpec/NoExpectationExample:
Exclude:
- 'spec/support/shared_examples/methods/define_attribute_method.rb'
# Offense count: 5
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/csvbuilder/importer/concerns/import/attributes.rb'
- 'lib/csvbuilder/importer/concerns/import/base.rb'
- 'lib/csvbuilder/importer/internal/import/attribute.rb'
- 'lib/csvbuilder/importer/public/import/file_model.rb'
# Offense count: 3
Style/OpenStructUse:
Exclude:
- 'spec/csvbuilder/importer/public/import/file_spec.rb'
- 'spec/support/fixtures/concerns/basic_attributes.rb'