.rubocop.yml in deepl-rb-2.5.3 vs .rubocop.yml in deepl-rb-3.0.0

- old
+ new

@@ -1,22 +1,49 @@ # Custom rubocop configuration +require: + - rubocop-rspec + AllCops: DisplayCopNames: true NewCops: enable Exclude: - deepl-rb.gemspec - vendor/**/* + TargetRubyVersion: 2.7.5 Metrics/BlockLength: Exclude: - "**/*_spec.rb" Metrics/ParameterLists: Max: 6 Layout/LineLength: Max: 100 + +RSpec/ExampleLength: + Max: 10 + CountAsOne: ['heredoc'] + +RSpec/MessageSpies: + EnforcedStyle: 'receive' + +RSpec/MultipleExpectations: + Max: 8 + +RSpec/MultipleMemoizedHelpers: + Max: 7 + +RSpec/NestedGroups: + Max: 4 + +RSpec/SpecFilePathSuffix: + Enabled: false + +RSpec/SpecFilePathFormat: + CustomTransform: + DeepL: '' Style/Documentation: Enabled: false Style/ModuleFunction: