X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bf1b9a9b6038c9e906133e9a981cc91b9512237d..93da9596997444baa576e296e371065a3cb99eb3:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index cbd62a052..77f26d863 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -29,16 +29,16 @@ Metrics/ClassLength: Exclude: - 'test/**/*' +Metrics/ModuleLength: + Max: 150 + Naming/FileName: Exclude: - 'script/deliver-message' - 'script/locale/reload-languages' - 'script/update-spam-blocks' -Naming/UncommunicativeMethodParamName: - Enabled: false - -Rails/ApplicationRecord: +Naming/MethodParameterName: Enabled: false Rails/CreateTableWithTimestamps: @@ -64,6 +64,9 @@ Rails/SkipsModelValidations: Style/BracesAroundHashParameters: EnforcedStyle: context_dependent +Style/Documentation: + Enabled: false + Style/FormatStringToken: EnforcedStyle: template