.rubocop.yml in head_music-0.27.0 vs .rubocop.yml in head_music-0.28.0

- old
+ new

@@ -1,42 +1,16 @@ -AllCops: - NewCops: enable - TargetRubyVersion: 2.5 +require: + - standard + - rubocop-rspec -Layout/DotPosition: - EnforcedStyle: trailing +inherit_gem: + standard: config/base.yml -Layout/LineLength: - Max: 120 - -Metrics/BlockLength: +AllCops: + NewCops: enable Exclude: - - 'Gemfile' - - 'Rakefile' - - 'spec/**/*.rb' + - public/**/* + - vendor/**/* + TargetRubyVersion: 3.1.4 -Metrics/ClassLength: - Max: 155 - -Style/ClassAndModuleChildren: - EnforcedStyle: compact - -Style/HashEachMethods: - Enabled: false - -Style/HashTransformKeys: - Enabled: false - -Style/HashTransformValues: - Enabled: false - -Style/SymbolArray: +RSpec: Enabled: true - -Style/TrailingCommaInArrayLiteral: - EnforcedStyleForMultiline: consistent_comma - -Style/TrailingCommaInHashLiteral: - EnforcedStyleForMultiline: consistent_comma - -Layout/EmptyLineAfterGuardClause: - Enabled: false