summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-22 13:39:34 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-22 13:39:34 +0000
commite23c409e66b47a970a3cb83ac15d2ff906e75ce0 (patch)
treeb1d580cd64c5d67a81a9445da42e82ceeefa96c5 /.rubocop.yml
parent2fa173410ad24b37aba6450ae4530ec231844d86 (diff)
downloadgitlab-ce-e23c409e66b47a970a3cb83ac15d2ff906e75ce0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a7fe623aa9e..ee54d03d6af 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -26,7 +26,8 @@ inherit_mode:
- Exclude
AllCops:
- TargetRubyVersion: 2.7
+ # Target the current Ruby version. For example, "2.7" or "3.0".
+ TargetRubyVersion: <%= RUBY_VERSION[/^\d+\.\d+/, 0] %>
TargetRailsVersion: 6.0
Exclude:
- 'vendor/**/*'