.rubocop.yml in cocina-models-0.89.1 vs .rubocop.yml in cocina-models-0.90.0

- old
+ new

@@ -99,20 +99,23 @@ - 'lib/cocina/models/mapping/from_mods/*' - 'lib/cocina/models/mapping/normalizers/mods/origin_info_normalizer.rb' - 'lib/cocina/models/mapping/normalizers/mods/subject_normalizer.rb' - 'lib/cocina/models/mapping/normalizers/mods_normalizer.rb' - # Offense count: 37 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: # Max: 20 Exclude: - 'lib/cocina/models/mapping/from_mods/*' - 'lib/cocina/models/mapping/to_mods/*' - 'lib/cocina/models/mapping/normalizers/**/*' +Naming/PredicateName: + ForbiddenPrefixes: + - is_ + # ----- RSpec ------ RSpec/BeEq: # new in 2.9.0 Enabled: true @@ -391,6 +394,19 @@ RSpec/Rails/InferredSpecType: # new in 2.14 Enabled: true RSpec/Rails/MinitestAssertions: # new in 2.17 Enabled: true Style/RedundantHeredocDelimiterQuotes: # new in 1.45 + Enabled: true + +Metrics/CollectionLiteralLength: # new in 1.47 + Enabled: true +Style/DirEmpty: # new in 1.48 + Enabled: true +Style/FileEmpty: # new in 1.48 + Enabled: true +RSpec/RedundantAround: # new in 2.19 + Enabled: true +RSpec/SkipBlockInsideExample: # new in 2.19 + Enabled: true +RSpec/Rails/TravelAround: # new in 2.19 Enabled: true