.rubocop.yml in active_fedora-datastreams-0.4.0 vs .rubocop.yml in active_fedora-datastreams-0.5.0
- old
+ new
@@ -1,23 +1,24 @@
+inherit_gem:
+ bixby: bixby_default.yml
+
AllCops:
- TargetRubyVersion: 2.2
+ TargetRubyVersion: 2.6
DisplayCopNames: true
- Include:
- - '**/Rakefile'
Exclude:
- 'script/**/*'
- 'vendor/**/*'
-Lint/HandleExceptions:
+Lint/SuppressedException:
Exclude:
- 'spec/unit/**/*'
- 'spec/integration/**/*'
Lint/AssignmentInCondition:
Enabled: false
-Metrics/LineLength:
+Layout/LineLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
@@ -36,23 +37,26 @@
- 'spec/samples/hydra-mods_article_datastream.rb'
Metrics/MethodLength:
Enabled: false
-Style/PredicateName:
+Naming/PredicateName:
Exclude:
- 'lib/active_fedora/om_datastream.rb'
Style/BlockDelimiters:
Exclude:
- 'spec/**/*'
-Style/BlockEndNewline:
+Style/FrozenStringLiteralComment:
+ Enabled: false
+
+Layout/BlockEndNewline:
Exclude:
- 'spec/**/*'
-Style/MultilineBlockLayout:
+Layout/MultilineBlockLayout:
Exclude:
- 'spec/**/*'
Style/Semicolon:
Exclude:
@@ -60,16 +64,16 @@
Style/Lambda:
Exclude:
- 'spec/**/*'
-Style/FileName:
+Naming/FileName:
Exclude:
- 'spec/samples/hydra-mods_article_datastream.rb'
-Style/IndentationConsistency:
- EnforcedStyle: rails
+Layout/IndentationConsistency:
+ EnforcedStyle: indented_internal_methods
Style/CollectionMethods:
PreferredMethods:
collect: 'map'
collect!: 'map!'
@@ -103,16 +107,13 @@
Enabled: false
Rails:
Enabled: true
-Rails/Date:
+Rails/RakeEnvironment:
Enabled: false
-Rails/TimeZone:
- Enabled: false
-
RSpec/AnyInstance:
Enabled: false
RSpec/ExampleWording:
CustomTransform:
@@ -135,6 +136,6 @@
RSpec/NotToNot:
Enabled: false
RSpec/ExampleLength:
- Enabled: false
\ No newline at end of file
+ Enabled: false