summaryrefslogtreecommitdiff
path: root/rubocop/rubocop-ruby30.yml
blob: b7634210e3d049cce14897c08999b2c4bef37f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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

# No longer needed because Ruby 3.0 will fail due to kwargs issues.
Lint/LastKeywordArgument:
  Enabled: false