X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8c1a5d62f8b2f5491f7d476cdcbd0d4121903079..50b2f4f656b82112fce4939da26a1afc6b140e89:/.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