X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/727ee97a3f40f6b6d40546d1417f3a936692b755..6c2093b29d74b145b85e61c4fff09b5f13afa0e5:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index e12437e08..31c14773c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,8 @@ inherit_from: .rubocop_todo.yml +AllCops: + TargetRubyVersion: 2.3 + Rails: Enabled: true @@ -27,6 +30,9 @@ Rails/ApplicationRecord: Rails/CreateTableWithTimestamps: Enabled: false +Rails/FindEach: + Enabled: false + Rails/HasManyOrHasOneDependent: Enabled: false @@ -63,6 +69,11 @@ Style/HashSyntax: - 'lib/tasks/testing.rake' - 'config/initializers/wrap_parameters.rb' +Style/MixinUsage: + Exclude: + - 'bin/setup' + - 'bin/update' + Style/StringLiterals: EnforcedStyle: double_quotes