diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 16:49:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 16:49:51 +0300 |
commit | 71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e (patch) | |
tree | 6a2d93ef3fb2d353bb7739e4b57e6541f51cdd71 /rubocop/rubocop-ruby30.yml | |
parent | a7253423e3403b8c08f8a161e5937e1488f5f407 (diff) |
Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42
Diffstat (limited to 'rubocop/rubocop-ruby30.yml')
-rw-r--r-- | rubocop/rubocop-ruby30.yml | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/rubocop/rubocop-ruby30.yml b/rubocop/rubocop-ruby30.yml index b7634210e3d..d46bb9388a3 100644 --- a/rubocop/rubocop-ruby30.yml +++ b/rubocop/rubocop-ruby30.yml @@ -1,19 +1,15 @@ -# RuboCop configuration adjustments during the transition time from Ruby 2.7 to Ruby 3.0. -# This configuration should be removed after the transition has been completed. - -# Disable cops for now since their behavior changed in Ruby 3.0. -# See https://gitlab.com/gitlab-org/gitlab/-/jobs/3068345492 -# -# Migration plan: -# * Generate TODOs for these cops (with Ruby 3.0) right before the switch to Ruby 3.0 -# * Put these cops back in "grace period" to ensure `master` stability -# * Remove "grace period" after the switch -# * Incrementally fix TODOs +# RuboCop configuration adjustments during the transition time from Ruby 2.7 to +# Ruby 3.0. # +# After the transition has been completed: +# * Move all configuration which enable cops to .rubocop.yml. +# * Remove all reminaing configuration. + +# These cops are disabled in Ruby 2.7 (rubocop-27.yml). Style/MutableConstant: - Enabled: false + Enabled: true Style/RedundantFreeze: - Enabled: false + Enabled: true # No longer needed because Ruby 3.0 will fail due to kwargs issues. Lint/LastKeywordArgument: |