diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
commit | ee664acb356f8123f4f6b00b73c1e1cf0866c7fb (patch) | |
tree | f8479f94a28f66654c6a4f6fb99bad6b4e86a40e /rubocop/rubocop-ruby30.yml | |
parent | 62f7d5c5b69180e82ae8196b7b429eeffc8e7b4f (diff) |
Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42
Diffstat (limited to 'rubocop/rubocop-ruby30.yml')
-rw-r--r-- | rubocop/rubocop-ruby30.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rubocop/rubocop-ruby30.yml b/rubocop/rubocop-ruby30.yml new file mode 100644 index 00000000000..6cd3f66ce55 --- /dev/null +++ b/rubocop/rubocop-ruby30.yml @@ -0,0 +1,16 @@ +# 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 +# +Style/MutableConstant: + Enabled: false +Style/RedundantFreeze: + Enabled: false |