X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4abd9cfcf19701bf43322374c5df6dd586449e54..61ee00fca1f1029b5e132ed2acca07a59efb7046:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 9b7a28d87..cfa31cc04 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,12 +1,14 @@ inherit_from: .rubocop_todo.yml require: + - rubocop-capybara - rubocop-minitest - rubocop-performance - rubocop-rails + - rubocop-rake AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 NewCops: enable Exclude: - 'vendor/**/*' @@ -54,7 +56,7 @@ Rails/HasManyOrHasOneDependent: Rails/HttpPositionalArguments: Enabled: false -Rails/InverseOf: +Rails/ReflectionClassName: Enabled: false Rails/SkipsModelValidations: