.rubocop.yml in henkei-1.23.1 vs .rubocop.yml in henkei-1.23.2
- old
+ new
@@ -1,8 +1,29 @@
+AllCops:
+ NewCops: enable
+
+Layout/EmptyLinesAroundAttributeAccessor:
+ Enabled: true
+
Layout/LineLength:
Max: 120
+Layout/SpaceAroundMethodCallOperator:
+ Enabled: true
+
+Lint/DeprecatedOpenSSLConstant:
+ Enabled: true
+
+Lint/MixedRegexpCaptureTypes:
+ Enabled: true
+
+Lint/RaiseException:
+ Enabled: true
+
+Lint/StructNewOverride:
+ Enabled: true
+
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/MethodLength:
@@ -11,5 +32,26 @@
Style/ClassVars:
Enabled: false
Style/DoubleNegation:
Enabled: false
+
+Style/ExponentialNotation:
+ Enabled: true
+
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
+
+Style/RedundantRegexpCharacterClass:
+ Enabled: true
+
+Style/RedundantRegexpEscape:
+ Enabled: true
+
+Style/SlicingWithRange:
+ Enabled: true