2023-04-23 21:23:45 +05:30
|
|
|
# RuboCop configuration adjustments during the transition time from Ruby 2.7 to
|
|
|
|
# Ruby 3.0.
|
2022-11-25 23:54:43 +05:30
|
|
|
#
|
2023-04-23 21:23:45 +05:30
|
|
|
# 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).
|
2022-11-25 23:54:43 +05:30
|
|
|
Style/MutableConstant:
|
2023-04-23 21:23:45 +05:30
|
|
|
Enabled: true
|
2022-11-25 23:54:43 +05:30
|
|
|
Style/RedundantFreeze:
|
2023-04-23 21:23:45 +05:30
|
|
|
Enabled: true
|
2023-03-17 16:20:25 +05:30
|
|
|
|
|
|
|
# No longer needed because Ruby 3.0 will fail due to kwargs issues.
|
|
|
|
Lint/LastKeywordArgument:
|
|
|
|
Enabled: false
|