1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2024-02-22 14:55:40 UTC using RuboCop version 1.60.2 .
3
+ # on 2024-04-06 14:14:58 UTC using RuboCop version 1.62.1 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
+ # Offense count: 6
10
+ # Configuration parameters: EnforcedStyle.
11
+ # SupportedStyles: link_or_button, strict
12
+ Capybara/ClickLinkOrButtonStyle :
13
+ Exclude :
14
+ - ' spec/features/swagger_spec.rb'
15
+
16
+ # Offense count: 1
17
+ Capybara/SpecificMatcher :
18
+ Exclude :
19
+ - ' spec/features/welcome_spec.rb'
20
+
9
21
# Offense count: 1
10
22
# Configuration parameters: Severity, Include.
11
23
# Include: **/*.gemspec
@@ -25,11 +37,11 @@ Lint/MixedRegexpCaptureTypes:
25
37
Exclude :
26
38
- ' lib/tasks/swagger_ui.rake'
27
39
28
- # Offense count: 9
29
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
40
+ # Offense count: 4
41
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode .
30
42
# AllowedMethods: refine
31
43
Metrics/BlockLength :
32
- Max : 291
44
+ Max : 89
33
45
34
46
# Offense count: 2
35
47
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
@@ -40,6 +52,63 @@ Naming/FileName:
40
52
- ' lib/grape-swagger-rails.rb'
41
53
- ' spec/features/grape-swagger-rails_spec.rb'
42
54
55
+ # Offense count: 13
56
+ # Configuration parameters: Prefixes, AllowedPatterns.
57
+ # Prefixes: when, with, without
58
+ RSpec/ContextWording :
59
+ Exclude :
60
+ - ' spec/features/swagger_spec.rb'
61
+
62
+ # Offense count: 1
63
+ # This cop supports unsafe autocorrection (--autocorrect-all).
64
+ # Configuration parameters: SkipBlocks, EnforcedStyle.
65
+ # SupportedStyles: described_class, explicit
66
+ RSpec/DescribedClass :
67
+ Exclude :
68
+ - ' spec/features/grape-swagger-rails_spec.rb'
69
+
70
+ # Offense count: 6
71
+ # Configuration parameters: CountAsOne.
72
+ RSpec/ExampleLength :
73
+ Max : 8
74
+
75
+ # Offense count: 1
76
+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
77
+ # Include: **/*_spec*rb*, **/spec/**/*
78
+ RSpec/FilePath :
79
+ Exclude :
80
+ - ' spec/features/grape-swagger-rails_spec.rb'
81
+
82
+ # Offense count: 2
83
+ # Configuration parameters: AssignmentOnly.
84
+ RSpec/InstanceVariable :
85
+ Exclude :
86
+ - ' spec/features/swagger_spec.rb'
87
+
88
+ # Offense count: 12
89
+ RSpec/MultipleExpectations :
90
+ Max : 4
91
+
92
+ # Offense count: 2
93
+ # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
94
+ # SupportedStyles: always, named_only
95
+ RSpec/NamedSubject :
96
+ Exclude :
97
+ - ' spec/features/grape-swagger-rails_spec.rb'
98
+
99
+ # Offense count: 12
100
+ # Configuration parameters: AllowedGroups.
101
+ RSpec/NestedGroups :
102
+ Max : 4
103
+
104
+ # Offense count: 1
105
+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
106
+ # Include: **/*_spec.rb
107
+ RSpec/SpecFilePathFormat :
108
+ Exclude :
109
+ - ' **/spec/routing/**/*'
110
+ - ' spec/features/grape-swagger-rails_spec.rb'
111
+
43
112
# Offense count: 4
44
113
# Configuration parameters: AllowedConstants.
45
114
Style/Documentation :
@@ -51,8 +120,13 @@ Style/Documentation:
51
120
- ' lib/grape-swagger-rails/engine.rb'
52
121
53
122
# Offense count: 1
123
+ Style/OpenStructUse :
124
+ Exclude :
125
+ - ' lib/grape-swagger-rails.rb'
126
+
127
+ # Offense count: 2
54
128
# This cop supports safe autocorrection (--autocorrect).
55
129
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
56
130
# URISchemes: http, https
57
131
Layout/LineLength :
58
- Max : 124
132
+ Max : 143
0 commit comments