diff --git a/.rubocop.yml b/.rubocop.yml index 59c8e979f..a385b5e79 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -61,6 +61,9 @@ Lint/RedundantSafeNavigation: Lint/RedundantSplatExpansion: Enabled: false +Lint/RescueException: + Enabled: false + Lint/UnifiedInteger: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 45a897459..6b43db9b9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -85,23 +85,6 @@ Lint/RedundantStringCoercion: Exclude: - 'core/io/print_spec.rb' -# Offense count: 25 -Lint/RescueException: - Exclude: - - 'command_line/fixtures/debug_info.rb' - - 'core/dir/fileno_spec.rb' - - 'core/exception/cause_spec.rb' - - 'core/exception/no_method_error_spec.rb' - - 'core/fiber/kill_spec.rb' - - 'core/kernel/fixtures/autoload_frozen.rb' - - 'core/kernel/raise_spec.rb' - - 'core/module/autoload_spec.rb' - - 'core/mutex/sleep_spec.rb' - - 'core/thread/abort_on_exception_spec.rb' - - 'core/thread/shared/exit.rb' - - 'language/rescue_spec.rb' - - 'library/erb/filename_spec.rb' - # Offense count: 1 Lint/SelfAssignment: Exclude: