.rubocop.yml in billomat-0.4.1 vs .rubocop.yml in billomat-1.0.0

- old
+ new

@@ -1,16 +1,21 @@ -require: rubocop-rspec +require: + - rubocop-rspec + - rubocop-rails Rails: Enabled: true -Documentation: +Style/Documentation: Enabled: true AllCops: + NewCops: enable + SuggestExtensions: false DisplayCopNames: true TargetRubyVersion: 2.5 + TargetRailsVersion: 5.2 Exclude: - bin/**/* - vendor/**/* - build/**/* - gemfiles/**/* @@ -21,10 +26,14 @@ - '*.gemspec' - spec/**/*.rb - '**/*.rake' - doc/**/*.rb +# MFA is not yet enabled for our gems yet. +Gemspec/RequireMFA: + Enabled: false + # Document all the things. Style/DocumentationMethod: Enabled: true RequireForNonPublicMethods: true @@ -48,6 +57,14 @@ RSpec/FilePath: Enabled: false # Because we just implemented the ActiveRecord API. Rails/SkipsModelValidations: + Enabled: false + +# We stay with the original Ruby Style Guide recommendation. +Layout/LineLength: + Max: 80 + +# We highly depend on memoized helpers across the specs. +RSpec/MultipleMemoizedHelpers: Enabled: false