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>2023-07-12 09:10:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-12 09:10:10 +0300
commit09acddd7fd2b59afa69eca95b1e34739e1f1b31b (patch)
tree3376c27fb8183ad2af565706677736d267281c83 /gems/config
parentbb01b338bfbc6e17996696145e6c495694b8f745 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'gems/config')
-rw-r--r--gems/config/rubocop.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/gems/config/rubocop.yml b/gems/config/rubocop.yml
index f591cde534f..3458998e114 100644
--- a/gems/config/rubocop.yml
+++ b/gems/config/rubocop.yml
@@ -15,6 +15,7 @@ inherit_mode:
AllCops:
# Target the current Ruby version. For example, "3.0" or "3.1".
TargetRubyVersion: <%= RUBY_VERSION[/^\d+\.\d+/, 0] %>
+ SuggestExtensions: false
# This cop doesn't make sense in the context of gems
CodeReuse/ActiveRecord:
@@ -59,6 +60,18 @@ Naming/FileName:
Exclude:
- spec/**/*.rb
+RSpec/ContextWording:
+ Prefixes:
+ - 'when'
+ - 'with'
+ - 'without'
+ - 'for'
+ - 'and'
+ - 'on'
+ - 'in'
+ - 'as'
+ - 'if'
+
# This cop doesn't make sense in the context of gems
RSpec/MissingFeatureCategory:
Enabled: false