.rubocop.yml in immoscout-1.3.2 vs .rubocop.yml in immoscout-1.4.0

- old
+ new

@@ -1,16 +1,26 @@ -Documentation: - Enabled: false +require: + - rubocop-rspec + - rubocop-rails +Rails: + Enabled: true + +Style/Documentation: + Enabled: true + AllCops: + NewCops: enable + SuggestExtensions: false DisplayCopNames: true TargetRubyVersion: 2.5 + TargetRailsVersion: 5.2 Exclude: - bin/**/* - vendor/**/* - build/**/* - - gemfiles/vendor/**/* + - gemfiles/**/* Metrics/BlockLength: Exclude: - Rakefile - '*.gemspec' @@ -18,7 +28,16 @@ - '**/*.rake' - doc/**/*.rb # We stay at 80 characters per line. # See: https://rubystyle.guide/#max-line-length -Metrics/LineLength: +Layout/LineLength: Max: 80 + +# MFA is not yet enabled for our gems yet. +Gemspec/RequireMFA: + Enabled: false + +# We use memoized helpers all over the place to construct inputs and output +# which can be customized at nested contexts easily. +RSpec/MultipleMemoizedHelpers: + Enabled: false