X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8c1a5d62f8b2f5491f7d476cdcbd0d4121903079..e37008c7bf8614d806e7d15eafbe7dba91d0cbc7:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 87abac9a3..1ae01086a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,8 @@ require: AllCops: TargetRubyVersion: 2.5 + Exclude: + - 'vendor/**/*' Rails: Enabled: true @@ -33,10 +35,7 @@ Naming/FileName: - 'script/locale/reload-languages' - 'script/update-spam-blocks' -Naming/UncommunicativeMethodParamName: - Enabled: false - -Rails/ApplicationRecord: +Naming/MethodParameterName: Enabled: false Rails/CreateTableWithTimestamps: @@ -62,6 +61,9 @@ Rails/SkipsModelValidations: Style/BracesAroundHashParameters: EnforcedStyle: context_dependent +Style/Documentation: + Enabled: false + Style/FormatStringToken: EnforcedStyle: template