1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2023-06-16 18:17:35 UTC using RuboCop version 1.50.2 .
3
+ # on 2024-05-17 10:11:09 UTC using RuboCop version 1.63.5 .
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: 1
10
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
11
- Lint/DuplicateBranch :
12
- Exclude :
13
- - ' lib/modulesync/renderer.rb'
14
-
15
9
# Offense count: 1
16
10
# Configuration parameters: AllowComments, AllowNil.
17
11
Lint/SuppressedException :
@@ -28,55 +22,50 @@ Performance/StringInclude:
28
22
# This cop supports unsafe autocorrection (--autocorrect-all).
29
23
RSpec/BeEq :
30
24
Exclude :
31
- - ' spec/unit/modulesync /settings_spec.rb'
25
+ - ' spec/unit/module_sync /settings_spec.rb'
32
26
33
27
# Offense count: 3
34
28
# Configuration parameters: Prefixes, AllowedPatterns.
35
29
# Prefixes: when, with, without
36
30
RSpec/ContextWording :
37
31
Exclude :
38
- - ' spec/unit/modulesync /git_service/github_spec.rb'
39
- - ' spec/unit/modulesync /git_service/gitlab_spec.rb'
40
- - ' spec/unit/modulesync_spec .rb'
32
+ - ' spec/unit/module_sync /git_service/github_spec.rb'
33
+ - ' spec/unit/module_sync /git_service/gitlab_spec.rb'
34
+ - ' spec/unit/module_sync_spec .rb'
41
35
42
36
# Offense count: 17
43
37
# This cop supports unsafe autocorrection (--autocorrect-all).
44
- # Configuration parameters: SkipBlocks, EnforcedStyle.
38
+ # Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants .
45
39
# SupportedStyles: described_class, explicit
46
40
RSpec/DescribedClass :
47
41
Exclude :
48
- - ' spec/unit/modulesync /git_service/factory_spec.rb'
49
- - ' spec/unit/modulesync /git_service/github_spec.rb'
50
- - ' spec/unit/modulesync /git_service/gitlab_spec.rb'
51
- - ' spec/unit/modulesync /git_service_spec.rb'
52
- - ' spec/unit/modulesync /settings_spec.rb'
53
- - ' spec/unit/modulesync /source_code_spec.rb'
54
- - ' spec/unit/modulesync_spec .rb'
42
+ - ' spec/unit/module_sync /git_service/factory_spec.rb'
43
+ - ' spec/unit/module_sync /git_service/github_spec.rb'
44
+ - ' spec/unit/module_sync /git_service/gitlab_spec.rb'
45
+ - ' spec/unit/module_sync /git_service_spec.rb'
46
+ - ' spec/unit/module_sync /settings_spec.rb'
47
+ - ' spec/unit/module_sync /source_code_spec.rb'
48
+ - ' spec/unit/module_sync_spec .rb'
55
49
56
50
# Offense count: 11
57
51
# Configuration parameters: CountAsOne.
58
52
RSpec/ExampleLength :
59
53
Max : 16
60
54
61
- # Offense count: 7
55
+ # Offense count: 2
62
56
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
63
57
# Include: **/*_spec*rb*, **/spec/**/*
64
58
RSpec/FilePath :
65
59
Exclude :
66
- - ' spec/unit/modulesync/git_service/factory_spec.rb'
67
- - ' spec/unit/modulesync/git_service/github_spec.rb'
68
- - ' spec/unit/modulesync/git_service/gitlab_spec.rb'
69
- - ' spec/unit/modulesync/git_service_spec.rb'
70
- - ' spec/unit/modulesync/settings_spec.rb'
71
- - ' spec/unit/modulesync/source_code_spec.rb'
72
- - ' spec/unit/modulesync_spec.rb'
60
+ - ' spec/unit/module_sync/git_service/github_spec.rb'
61
+ - ' spec/unit/module_sync/git_service/gitlab_spec.rb'
73
62
74
63
# Offense count: 19
75
64
# Configuration parameters: AssignmentOnly.
76
65
RSpec/InstanceVariable :
77
66
Exclude :
78
- - ' spec/unit/modulesync /git_service/github_spec.rb'
79
- - ' spec/unit/modulesync /git_service/gitlab_spec.rb'
67
+ - ' spec/unit/module_sync /git_service/github_spec.rb'
68
+ - ' spec/unit/module_sync /git_service/gitlab_spec.rb'
80
69
81
70
# Offense count: 7
82
71
# Configuration parameters: .
@@ -93,20 +82,29 @@ RSpec/MultipleExpectations:
93
82
# SupportedStyles: always, named_only
94
83
RSpec/NamedSubject :
95
84
Exclude :
96
- - ' spec/unit/modulesync /settings_spec.rb'
97
- - ' spec/unit/modulesync /source_code_spec.rb'
85
+ - ' spec/unit/module_sync /settings_spec.rb'
86
+ - ' spec/unit/module_sync /source_code_spec.rb'
98
87
99
88
# Offense count: 9
100
89
# Configuration parameters: AllowedGroups.
101
90
RSpec/NestedGroups :
102
91
Max : 5
103
92
93
+ # Offense count: 2
94
+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
95
+ # Include: **/*_spec.rb
96
+ RSpec/SpecFilePathFormat :
97
+ Exclude :
98
+ - ' **/spec/routing/**/*'
99
+ - ' spec/unit/module_sync/git_service/github_spec.rb'
100
+ - ' spec/unit/module_sync/git_service/gitlab_spec.rb'
101
+
104
102
# Offense count: 6
105
103
RSpec/StubbedMock :
106
104
Exclude :
107
- - ' spec/unit/modulesync /git_service/github_spec.rb'
108
- - ' spec/unit/modulesync /git_service/gitlab_spec.rb'
109
- - ' spec/unit/modulesync_spec .rb'
105
+ - ' spec/unit/module_sync /git_service/github_spec.rb'
106
+ - ' spec/unit/module_sync /git_service/gitlab_spec.rb'
107
+ - ' spec/unit/module_sync_spec .rb'
110
108
111
109
# Offense count: 9
112
110
# Configuration parameters: AllowedConstants.
@@ -135,12 +133,6 @@ Style/FetchEnvVar:
135
133
Style/FrozenStringLiteralComment :
136
134
Enabled : false
137
135
138
- # Offense count: 2
139
- # This cop supports unsafe autocorrection (--autocorrect-all).
140
- Style/IdenticalConditionalBranches :
141
- Exclude :
142
- - ' lib/modulesync/renderer.rb'
143
-
144
136
# Offense count: 1
145
137
# Configuration parameters: AllowedMethods.
146
138
# AllowedMethods: respond_to_missing?
0 commit comments