X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/40ec4734fb1e4d23a0a0f468e66dde1e180fb0ca..9682fe6431e6e7360b6dbaaa0b0c75c826a649e8:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 65db8a6a5..f8060f948 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,13 +1,15 @@ inherit_from: .rubocop_todo.yml require: + - rubocop-capybara + - rubocop-factory_bot - rubocop-minitest - rubocop-performance - rubocop-rails - rubocop-rake AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 NewCops: enable Exclude: - 'vendor/**/*' @@ -15,6 +17,11 @@ AllCops: Rails: Enabled: true +# Config can be removed after https://github.com/rubocop/rubocop-factory_bot/issues/53 +FactoryBot/AssociationStyle: + Include: + - 'test/factories/**/*' + Layout/ExtraSpacing: AllowForAlignment: true