summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-04-20 10:00:54 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-20 10:00:54 +0000
commit3cccd102ba543e02725d247893729e5c73b38295 (patch)
treef36a04ec38517f5deaaacb5acc7d949688d1e187 /.rubocop.yml
parent205943281328046ef7b4528031b90fbda70c75ac (diff)
downloadgitlab-ce-3cccd102ba543e02725d247893729e5c73b38295.tar.gz
Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 99424713bd8..50729efd1ce 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -48,6 +48,7 @@ AllCops:
Metrics/ParameterLists:
Exclude:
+ # See https://gitlab.com/gitlab-org/gitlab/-/issues/356771
- 'app/components/**/*'
Cop/AvoidKeywordArgumentsInSidekiqWorkers:
@@ -94,6 +95,10 @@ Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always_true
+Style/SpecialGlobalVars:
+ # https://gitlab.com/gitlab-org/gitlab/-/issues/358427
+ EnforcedStyle: use_perl_names
+
RSpec/FilePath:
Exclude:
- 'qa/**/*'
@@ -134,6 +139,7 @@ Naming/FileName:
- 'qa/qa/specs/**/*'
- 'qa/tasks/**/*.rake'
- '**/*.ru'
+ - 'app/graphql/types/issue_connection.rb'
IgnoreExecutableScripts: true
AllowedAcronyms:
@@ -732,10 +738,6 @@ QA/SelectorUsage:
Exclude:
- 'spec/rubocop/**/*_spec.rb'
-QA/DuplicateTestcaseLink:
- # this cop is executed in static-analysis.gitlab-ci.yml since it cannot be run in parallel
- Enabled: false
-
Performance/ActiveRecordSubtransactions:
Exclude:
- 'spec/**/*.rb'