@@ -12,7 +12,7 @@ inherit_mode:
1212 - Exclude # Merge my AllCops.Exclude with default exludes from https://github.com/rubocop/rubocop/blob/master/config/default.yml
1313
1414# Standard Cops
15- Gemspec/DateAssignment :
15+ Gemspec/DeprecatedAttributeAssignment :
1616 Enabled : true
1717Gemspec/RequireMFA :
1818 Enabled : true
@@ -68,19 +68,19 @@ Naming/BlockForwarding:
6868 Enabled : true
6969Metrics/AbcSize :
7070 Enabled : true
71- IgnoredMethods :
71+ AllowedMethods :
7272 - detect_line_tag
7373Metrics/ClassLength :
7474 Enabled : true
7575Metrics/CyclomaticComplexity :
7676 Enabled : true
77- IgnoredMethods :
77+ AllowedMethods :
7878 - detect_line_tag
7979 - parse_any
8080Metrics/MethodLength :
8181 Enabled : true
8282 Max : 15
83- IgnoredMethods :
83+ AllowedMethods :
8484 - test_hash_multiline_key_all_cases
8585 - test_hash_key_line_endings
8686 - test_array_with_multiple_hash
@@ -90,7 +90,7 @@ Metrics/MethodLength:
9090 - parse_any
9191Metrics/PerceivedComplexity :
9292 Enabled : true
93- IgnoredMethods :
93+ AllowedMethods :
9494 - detect_line_tag
9595Security/IoMethods :
9696 Enabled : true
@@ -157,3 +157,150 @@ require:
157157# Reference: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
158158Rake :
159159 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
196+ Enabled : true
197+ Lint/RefinementImportMethods : # new in 1.27
198+ Enabled : true
199+ Lint/RequireRangeParentheses : # new in 1.32
200+ Enabled : true
201+ Lint/SharedMutableDefault : # new in 1.70
202+ Enabled : true
203+ Lint/UnescapedBracketInRegexp : # new in 1.68
204+ Enabled : true
205+ Lint/UselessDefined : # new in 1.69
206+ Enabled : true
207+ Lint/UselessNumericOperation : # new in 1.66
208+ Enabled : true
209+ Lint/UselessRescue : # new in 1.43
210+ Enabled : true
211+ Metrics/CollectionLiteralLength : # new in 1.47
212+ Enabled : true
213+ Security/CompoundHash : # new in 1.28
214+ Enabled : true
215+ Style/AmbiguousEndlessMethodDefinition : # new in 1.68
216+ Enabled : true
217+ Style/ArrayIntersect : # new in 1.40
218+ Enabled : true
219+ Style/BitwisePredicate : # new in 1.68
220+ Enabled : true
221+ Style/CombinableDefined : # new in 1.68
222+ Enabled : true
223+ Style/ComparableClamp : # new in 1.44
224+ Enabled : true
225+ Style/ConcatArrayLiterals : # new in 1.41
226+ Enabled : true
227+ Style/DataInheritance : # new in 1.49
228+ Enabled : true
229+ Style/DigChain : # new in 1.69
230+ Enabled : true
231+ Style/DirEmpty : # new in 1.48
232+ Enabled : true
233+ Style/EmptyHeredoc : # new in 1.32
234+ Enabled : true
235+ Style/EnvHome : # new in 1.29
236+ Enabled : true
237+ Style/ExactRegexpMatch : # new in 1.51
238+ Enabled : true
239+ Style/FetchEnvVar : # new in 1.28
240+ Enabled : true
241+ Style/FileEmpty : # new in 1.48
242+ Enabled : true
243+ Style/FileNull : # new in 1.69
244+ Enabled : true
245+ Style/FileTouch : # new in 1.69
246+ Enabled : true
247+ Style/HashSlice : # new in 1.71
248+ Enabled : true
249+ Style/ItAssignment : # new in 1.70
250+ Enabled : true
251+ Style/KeywordArgumentsMerging : # new in 1.68
252+ Enabled : true
253+ Style/MagicCommentFormat : # new in 1.35
254+ Enabled : true
255+ Style/MapCompactWithConditionalBlock : # new in 1.30
256+ Enabled : true
257+ Style/MapIntoArray : # new in 1.63
258+ Enabled : true
259+ Style/MapToSet : # new in 1.42
260+ Enabled : true
261+ Style/MinMaxComparison : # new in 1.42
262+ Enabled : true
263+ Style/ObjectThen : # new in 1.28
264+ Enabled : true
265+ Style/OperatorMethodCall : # new in 1.37
266+ Enabled : true
267+ Style/RedundantArrayConstructor : # new in 1.52
268+ Enabled : true
269+ Style/RedundantConstantBase : # new in 1.40
270+ Enabled : true
271+ Style/RedundantCurrentDirectoryInPath : # new in 1.53
272+ Enabled : true
273+ Style/RedundantDoubleSplatHashBraces : # new in 1.41
274+ Enabled : true
275+ Style/RedundantEach : # new in 1.38
276+ Enabled : true
277+ Style/RedundantFilterChain : # new in 1.52
278+ Enabled : true
279+ Style/RedundantHeredocDelimiterQuotes : # new in 1.45
280+ Enabled : true
281+ Style/RedundantInitialize : # new in 1.27
282+ Enabled : true
283+ Style/RedundantInterpolationUnfreeze : # new in 1.66
284+ Enabled : true
285+ Style/RedundantLineContinuation : # new in 1.49
286+ 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
304+ Enabled : true
305+ Style/YAMLFileRead : # new in 1.53
306+ Enabled : true
0 commit comments