.rubocop.yml in tikkie-api-0.2.2 vs .rubocop.yml in tikkie-api-2.0.0

- old
+ new

@@ -1,50 +1,54 @@ -require: rubocop-rspec +require: + - rubocop-performance + - rubocop-rspec AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.4 DisplayCopNames: true DisplayStyleGuide: true + Exclude: + - 'lib/tikkie/api/v1/**/*' + - 'spec/tikkie/api/v1/**/*' + - 'vendor/**/*' +Layout/LineLength: + Enabled: false + + Metrics/AbcSize: - Max: 21 + Max: 43 Metrics/BlockLength: Exclude: - 'spec/**/*' Metrics/CyclomaticComplexity: - Max: 7 + Max: 11 -Metrics/LineLength: - Enabled: false - Metrics/MethodLength: Enabled: false +Metrics/PerceivedComplexity: + Max: 9 + RSpec/DescribedClass: EnforcedStyle: explicit RSpec/ExampleLength: - Max: 8 + Max: 12 RSpec/MultipleExpectations: - Max: 4 + Max: 8 -RSpec/NamedSubject: - Enabled: false - Style/Documentation: Exclude: - 'spec/**/*' -Style/GuardClause: - Enabled: false - -Style/IfUnlessModifier: +Style/FormatStringToken: Enabled: false Style/SafeNavigation: Enabled: false