Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-22 16:39:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-22 16:39:34 +0300
commite23c409e66b47a970a3cb83ac15d2ff906e75ce0 (patch)
treeb1d580cd64c5d67a81a9445da42e82ceeefa96c5 /.rubocop.yml
parent2fa173410ad24b37aba6450ae4530ec231844d86 (diff)
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/**/*'