Skip to content

Commit 8388162

Browse files
committed
Rubocops that didn't need code changes
1 parent 9270fe9 commit 8388162

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.rubocop_cc.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Rails/SkipsModelValidations: # We don`t want any model at all in migrations and
143143
- spec/migrations/**/*
144144

145145
#### ENABLED SECTION
146+
Gemspec/AttributeAssignment:
147+
Enabled: true
146148
Gemspec/DeprecatedAttributeAssignment:
147149
Enabled: true
148150
Gemspec/DevelopmentDependencies:
@@ -239,8 +241,12 @@ Lint/UnexpectedBlockArity:
239241
Enabled: true
240242
Lint/UnmodifiedReduceAccumulator:
241243
Enabled: true
244+
Lint/UselessDefaultValueArgument:
245+
Enabled: true
242246
Lint/UselessDefined:
243247
Enabled: true
248+
Lint/UselessOr:
249+
Enabled: true
244250
Lint/UselessRescue:
245251
Enabled: true
246252
Lint/UselessRuby2Keywords:
@@ -259,6 +265,8 @@ Style/ArgumentsForwarding:
259265
Enabled: true
260266
Style/ArrayIntersect:
261267
Enabled: true
268+
Style/ArrayIntersectWithSingleElement:
269+
Enabled: true
262270
Style/BitwisePredicate:
263271
Enabled: true
264272
Style/CollectionCompact:
@@ -281,6 +289,8 @@ Style/DocumentDynamicEvalDefinition:
281289
Enabled: true
282290
Style/EmptyHeredoc:
283291
Enabled: true
292+
Style/EmptyStringInsideInterpolation:
293+
Enabled: true
284294
Style/EndlessMethod:
285295
Enabled: true
286296
Style/EnvHome:
@@ -349,6 +359,8 @@ Style/RedundantArgument:
349359
Enabled: true
350360
Style/RedundantArrayConstructor:
351361
Enabled: true
362+
Style/RedundantArrayFlatten:
363+
Enabled: true
352364
Style/RedundantConstantBase:
353365
Enabled: true
354366
Style/RedundantCurrentDirectoryInPath:
@@ -425,6 +437,8 @@ Rails/ExpandedDateRange:
425437
Enabled: true
426438
Rails/FindById:
427439
Enabled: true
440+
Rails/FindByOrAssignmentMemoization:
441+
Enabled: true
428442
Rails/FreezeTime:
429443
Enabled: true
430444
Rails/I18nLazyLookup:
@@ -447,6 +461,8 @@ Rails/MultipleRoutePaths:
447461
Enabled: true
448462
Rails/NegateInclude:
449463
Enabled: true
464+
Rails/OrderArguments:
465+
Enabled: true
450466
Rails/Pluck:
451467
Enabled: true
452468
Rails/PluckInWhere:

0 commit comments

Comments
 (0)