.rubocop.yml in acts_as_hashids-0.1.9 vs .rubocop.yml in acts_as_hashids-0.2.0
- old
+ new
@@ -1,38 +1,50 @@
require: rubocop-rspec
AllCops:
- TargetRubyVersion: 2.3
+ TargetRubyVersion: 2.7
Exclude:
- 'bin/**/*'
- 'tmp/**/*'
- "vendor/**/*"
Metrics/AbcSize:
Max: 40
-Metrics/LineLength:
- Max: 125
- AllowURI: true
- URISchemes:
- - http
- - https
Metrics/MethodLength:
Max: 20
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/BlockLength:
Enabled: false
-Documentation:
+Style/Documentation:
Enabled: false
Style/SignalException:
EnforcedStyle: only_raise
-Layout/IndentHash:
+Layout/LineLength:
+ Max: 125
+ AllowURI: true
+ URISchemes:
+ - http
+ - https
+Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
-Layout/IndentArray:
+Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Lint/InheritException:
+ Enabled: false
+Lint/SendWithMixinArgument:
+ Enabled: false
+Lint/RaiseException:
+ Enabled: false
+Lint/StructNewOverride:
+ Enabled: false
+Style/HashEachMethods:
+ Enabled: false
+Style/HashTransformKeys:
+ Enabled: false
+Style/HashTransformValues:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
RSpec/AnyInstance:
Enabled: false