.rubocop.yml in cocina-models-0.33.0 vs .rubocop.yml in cocina-models-0.34.0
- old
+ new
@@ -2,11 +2,11 @@
inherit_from: .rubocop_todo.yml
require:
- rubocop-rspec
-Metrics/LineLength:
+Layout/LineLength:
Max: 114
Exclude:
- lib/cocina/models/*
Metrics/BlockLength:
@@ -24,9 +24,60 @@
Max: 18
Exclude:
- spec/cocina/models/description_spec.rb
- spec/cocina/models/dro_shared_examples.rb
-
Style/Documentation:
Exclude:
- lib/cocina/models/*
+
+Layout/EmptyLinesAroundAttributeAccessor:
+ Enabled: true
+
+Layout/SpaceAroundMethodCallOperator:
+ Enabled: true
+
+Lint/DeprecatedOpenSSLConstant:
+ Enabled: true
+
+Lint/MixedRegexpCaptureTypes:
+ Enabled: true
+
+Lint/RaiseException:
+ Enabled: true
+
+Lint/StructNewOverride:
+ Enabled: true
+
+Style/AccessorGrouping:
+ Enabled: true
+
+Style/BisectedAttrAccessor:
+ Enabled: true
+
+Style/ExponentialNotation:
+ Enabled: true
+
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
+
+Style/RedundantAssignment:
+ Enabled: true
+
+Style/RedundantFetchBlock:
+ Enabled: true
+
+Style/RedundantRegexpCharacterClass:
+ Enabled: true
+
+Style/RedundantRegexpEscape:
+ Enabled: true
+
+Style/SlicingWithRange:
+ Enabled: true
+