X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4a9d7537785f1b44ea4db42bed69127fbe323ae..370fe0855e8eef97bbe58dc559957ac303decc33:/.rubocop.yml?ds=inline diff --git a/.rubocop.yml b/.rubocop.yml index eedbf47e0..64a8d0a0f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,7 +12,7 @@ require: - ./.rubocop/specific_action_names.rb AllCops: - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.2 NewCops: enable Exclude: - 'vendor/**/*' @@ -108,6 +108,10 @@ Style/MixinUsage: - 'bin/setup' - 'bin/update' +Style/RaiseArgs: + Exclude: + - 'lib/osm.rb' + Style/StringLiterals: EnforcedStyle: double_quotes @@ -129,7 +133,6 @@ Rails/SpecificActionNames: - app/controllers/**/*.rb Exclude: # This is a todo list, but is currently too long for `rubocop --auto-gen-config` - - 'app/controllers/api/changeset_comments_controller.rb' - 'app/controllers/api/changesets_controller.rb' - 'app/controllers/api/notes_controller.rb' - 'app/controllers/api/user_preferences_controller.rb'