@@ -16,10 +16,18 @@ Gemspec/DeprecatedAttributeAssignment:
1616 Enabled : true
1717Gemspec/RequireMFA :
1818 Enabled : true
19+ Gemspec/AddRuntimeDependency :
20+ Enabled : true
21+ Gemspec/DevelopmentDependencies :
22+ Enabled : true
1923Layout/LineEndStringConcatenationIndentation :
2024 Enabled : true
2125Layout/SpaceBeforeBrackets :
2226 Enabled : true
27+ Layout/LineContinuationLeadingSpace :
28+ Enabled : true
29+ Layout/LineContinuationSpacing :
30+ Enabled : true
2331Lint/AmbiguousAssignment :
2432 Enabled : true
2533Lint/AmbiguousOperatorPrecedence :
@@ -64,6 +72,46 @@ Lint/UnmodifiedReduceAccumulator:
6472 Enabled : true
6573Lint/UselessRuby2Keywords :
6674 Enabled : true
75+ Lint/ArrayLiteralInRegexp :
76+ Enabled : true
77+ Lint/ConstantOverwrittenInRescue :
78+ Enabled : true
79+ Lint/ConstantReassignment :
80+ Enabled : true
81+ Lint/DuplicateMagicComment :
82+ Enabled : true
83+ Lint/DuplicateMatchPattern :
84+ Enabled : true
85+ Lint/DuplicateSetElement :
86+ Enabled : true
87+ Lint/HashNewWithKeywordArgumentsAsDefault :
88+ Enabled : true
89+ Lint/ItWithoutArgumentsInBlock :
90+ Enabled : true
91+ Lint/LiteralAssignmentInCondition :
92+ Enabled : true
93+ Lint/MixedCaseRange :
94+ Enabled : true
95+ Lint/NonAtomicFileOperation :
96+ Enabled : true
97+ Lint/NumericOperationWithConstantResult :
98+ Enabled : true
99+ Lint/RedundantRegexpQuantifiers :
100+ Enabled : true
101+ Lint/RefinementImportMethods :
102+ Enabled : true
103+ Lint/RequireRangeParentheses :
104+ Enabled : true
105+ Lint/SharedMutableDefault :
106+ Enabled : true
107+ Lint/UnescapedBracketInRegexp :
108+ Enabled : true
109+ Lint/UselessDefined :
110+ Enabled : true
111+ Lint/UselessNumericOperation :
112+ Enabled : true
113+ Lint/UselessRescue :
114+ Enabled : true
67115Naming/BlockForwarding :
68116 Enabled : true
69117Metrics/AbcSize :
@@ -92,8 +140,12 @@ Metrics/PerceivedComplexity:
92140 Enabled : true
93141 AllowedMethods :
94142 - detect_line_tag
143+ Metrics/CollectionLiteralLength :
144+ Enabled : true
95145Security/IoMethods :
96146 Enabled : true
147+ Security/CompoundHash :
148+ Enabled : true
97149Style/ArgumentsForwarding :
98150 Enabled : true
99151Style/CollectionCompact :
@@ -148,159 +200,106 @@ Style/StringChars:
148200 Enabled : true
149201Style/SwapValues :
150202 Enabled : true
151-
152-
153- # Rubocop extensions
154- require :
155- - rubocop-rake
156-
157- # Reference: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
158- Rake :
159- Enabled : true
160-
161-
162-
163- Gemspec/AddRuntimeDependency : # new in 1.65
164- Enabled : true
165- Gemspec/DevelopmentDependencies : # new in 1.44
166- Enabled : true
167- Layout/LineContinuationLeadingSpace : # new in 1.31
168- Enabled : true
169- Layout/LineContinuationSpacing : # new in 1.31
170- Enabled : true
171- Lint/ArrayLiteralInRegexp : # new in 1.71
172- Enabled : true
173- Lint/ConstantOverwrittenInRescue : # new in 1.31
174- Enabled : true
175- Lint/ConstantReassignment : # new in 1.70
176- Enabled : true
177- Lint/DuplicateMagicComment : # new in 1.37
178- Enabled : true
179- Lint/DuplicateMatchPattern : # new in 1.50
180- Enabled : true
181- Lint/DuplicateSetElement : # new in 1.67
182- Enabled : true
183- Lint/HashNewWithKeywordArgumentsAsDefault : # new in 1.69
184- Enabled : true
185- Lint/ItWithoutArgumentsInBlock : # new in 1.59
186- Enabled : true
187- Lint/LiteralAssignmentInCondition : # new in 1.58
188- Enabled : true
189- Lint/MixedCaseRange : # new in 1.53
190- Enabled : true
191- Lint/NonAtomicFileOperation : # new in 1.31
192- Enabled : true
193- Lint/NumericOperationWithConstantResult : # new in 1.69
194- Enabled : true
195- Lint/RedundantRegexpQuantifiers : # new in 1.53
203+ Style/AmbiguousEndlessMethodDefinition :
196204 Enabled : true
197- Lint/RefinementImportMethods : # new in 1.27
205+ Style/ArrayIntersect :
198206 Enabled : true
199- Lint/RequireRangeParentheses : # new in 1.32
207+ Style/BitwisePredicate :
200208 Enabled : true
201- Lint/SharedMutableDefault : # new in 1.70
209+ Style/CombinableDefined :
202210 Enabled : true
203- Lint/UnescapedBracketInRegexp : # new in 1.68
211+ Style/ComparableClamp :
204212 Enabled : true
205- Lint/UselessDefined : # new in 1.69
213+ Style/ConcatArrayLiterals :
206214 Enabled : true
207- Lint/UselessNumericOperation : # new in 1.66
215+ Style/DataInheritance :
208216 Enabled : true
209- Lint/UselessRescue : # new in 1.43
217+ Style/DigChain :
210218 Enabled : true
211- Metrics/CollectionLiteralLength : # new in 1.47
219+ Style/DirEmpty :
212220 Enabled : true
213- Security/CompoundHash : # new in 1.28
221+ Style/EmptyHeredoc :
214222 Enabled : true
215- Style/AmbiguousEndlessMethodDefinition : # new in 1.68
223+ Style/EnvHome :
216224 Enabled : true
217- Style/ArrayIntersect : # new in 1.40
225+ Style/ExactRegexpMatch :
218226 Enabled : true
219- Style/BitwisePredicate : # new in 1.68
227+ Style/FetchEnvVar :
220228 Enabled : true
221- Style/CombinableDefined : # new in 1.68
229+ Style/FileEmpty :
222230 Enabled : true
223- Style/ComparableClamp : # new in 1.44
231+ Style/FileNull :
224232 Enabled : true
225- Style/ConcatArrayLiterals : # new in 1.41
233+ Style/FileTouch :
226234 Enabled : true
227- Style/DataInheritance : # new in 1.49
235+ Style/HashSlice :
228236 Enabled : true
229- Style/DigChain : # new in 1.69
237+ Style/ItAssignment :
230238 Enabled : true
231- Style/DirEmpty : # new in 1.48
239+ Style/KeywordArgumentsMerging :
232240 Enabled : true
233- Style/EmptyHeredoc : # new in 1.32
241+ Style/MagicCommentFormat :
234242 Enabled : true
235- Style/EnvHome : # new in 1.29
243+ Style/MapCompactWithConditionalBlock :
236244 Enabled : true
237- Style/ExactRegexpMatch : # new in 1.51
245+ Style/MapIntoArray :
238246 Enabled : true
239- Style/FetchEnvVar : # new in 1.28
247+ Style/MapToSet :
240248 Enabled : true
241- Style/FileEmpty : # new in 1.48
249+ Style/MinMaxComparison :
242250 Enabled : true
243- Style/FileNull : # new in 1.69
251+ Style/ObjectThen :
244252 Enabled : true
245- Style/FileTouch : # new in 1.69
253+ Style/OperatorMethodCall :
246254 Enabled : true
247- Style/HashSlice : # new in 1.71
255+ Style/RedundantArrayConstructor :
248256 Enabled : true
249- Style/ItAssignment : # new in 1.70
257+ Style/RedundantConstantBase :
250258 Enabled : true
251- Style/KeywordArgumentsMerging : # new in 1.68
259+ Style/RedundantCurrentDirectoryInPath :
252260 Enabled : true
253- Style/MagicCommentFormat : # new in 1.35
261+ Style/RedundantDoubleSplatHashBraces :
254262 Enabled : true
255- Style/MapCompactWithConditionalBlock : # new in 1.30
263+ Style/RedundantEach :
256264 Enabled : true
257- Style/MapIntoArray : # new in 1.63
265+ Style/RedundantFilterChain :
258266 Enabled : true
259- Style/MapToSet : # new in 1.42
267+ Style/RedundantHeredocDelimiterQuotes :
260268 Enabled : true
261- Style/MinMaxComparison : # new in 1.42
269+ Style/RedundantInitialize :
262270 Enabled : true
263- Style/ObjectThen : # new in 1.28
271+ Style/RedundantInterpolationUnfreeze :
264272 Enabled : true
265- Style/OperatorMethodCall : # new in 1.37
273+ Style/RedundantLineContinuation :
266274 Enabled : true
267- Style/RedundantArrayConstructor : # new in 1.52
275+ Style/RedundantRegexpArgument :
268276 Enabled : true
269- Style/RedundantConstantBase : # new in 1.40
277+ Style/RedundantRegexpConstructor :
270278 Enabled : true
271- Style/RedundantCurrentDirectoryInPath : # new in 1.53
279+ Style/RedundantStringEscape :
272280 Enabled : true
273- Style/RedundantDoubleSplatHashBraces : # new in 1.41
281+ Style/ReturnNilInPredicateMethodDefinition :
274282 Enabled : true
275- Style/RedundantEach : # new in 1.38
283+ Style/SafeNavigationChainLength :
276284 Enabled : true
277- Style/RedundantFilterChain : # new in 1.52
285+ Style/SendWithLiteralMethodName :
278286 Enabled : true
279- Style/RedundantHeredocDelimiterQuotes : # new in 1.45
287+ Style/SingleLineDoEndBlock :
280288 Enabled : true
281- Style/RedundantInitialize : # new in 1.27
289+ Style/SuperArguments :
282290 Enabled : true
283- Style/RedundantInterpolationUnfreeze : # new in 1.66
291+ Style/SuperWithArgsParentheses :
284292 Enabled : true
285- Style/RedundantLineContinuation : # new in 1.49
293+ Style/YAMLFileRead :
286294 Enabled : true
287- Style/RedundantRegexpArgument : # new in 1.53
288- Enabled : true
289- Style/RedundantRegexpConstructor : # new in 1.52
290- Enabled : true
291- Style/RedundantStringEscape : # new in 1.37
292- Enabled : true
293- Style/ReturnNilInPredicateMethodDefinition : # new in 1.53
294- Enabled : true
295- Style/SafeNavigationChainLength : # new in 1.68
296- Enabled : true
297- Style/SendWithLiteralMethodName : # new in 1.64
298- Enabled : true
299- Style/SingleLineDoEndBlock : # new in 1.57
300- Enabled : true
301- Style/SuperArguments : # new in 1.64
302- Enabled : true
303- Style/SuperWithArgsParentheses : # new in 1.58
295+
296+
297+ # Rubocop extensions
298+ require :
299+ - rubocop-rake
300+
301+ # Reference: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
302+ Rake :
304303 Enabled : true
305- Style/YAMLFileRead : # new in 1.53
306- Enabled : true
304+
305+
0 commit comments