.rubocop.yml in massa-0.5.0 vs .rubocop.yml in massa-0.6.0

- old
+ new

@@ -1,25 +1,54 @@ require: rubocop-rspec AllCops: - TargetRubyVersion: 2.3 - DisplayCopNames: true + TargetRubyVersion: 2.7 - Exclude: - # FIXME: Remove lines below when https://github.com/nevir/rubocop-rspec/issues/62 is fixed - - 'spec/**/*' - -Metrics/LineLength: - Max: 100 - Metrics/MethodLength: Max: 20 +Metrics/AbcSize: + Max: 25 + Style/Documentation: Enabled: false +Layout/LineLength: + Max: 100 + +Layout/EmptyLinesAroundArguments: + Enabled: false + +Layout/EmptyLinesAroundAttributeAccessor: + Enabled: true + +Layout/SpaceAroundMethodCallOperator: + Enabled: true + +Lint/RaiseException: + Enabled: true + +Lint/StructNewOverride: + Enabled: true + +Style/ExponentialNotation: + Enabled: true + +Style/HashEachMethods: + Enabled: true + +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true + +Style/SlicingWithRange: + Enabled: true + RSpec/DescribeClass: Exclude: - - 'spec/bin/**/*' + - spec/bin/**/* -Metrics/AbcSize: - Max: 25 +RSpec/ExampleLength: + Exclude: + - spec/bin/**/*