X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2cfd5b97a83ab27f51e2d44ab832194f098d1eb7..4f6735a513a568479a44480d04cab654d181b694:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 77f26d863..1c41c027a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -61,9 +61,6 @@ Rails/SkipsModelValidations: - 'db/migrate/*.rb' - 'app/controllers/users_controller.rb' -Style/BracesAroundHashParameters: - EnforcedStyle: context_dependent - Style/Documentation: Enabled: false @@ -76,12 +73,21 @@ Style/IfInsideElse: Style/GuardClause: Enabled: false +Style/HashEachMethods: + Enabled: true + Style/HashSyntax: EnforcedStyle: hash_rockets Exclude: - 'lib/tasks/testing.rake' - 'config/initializers/wrap_parameters.rb' +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true + Style/MixinUsage: Exclude: - 'bin/setup'