diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-12 09:10:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-12 09:10:10 +0300 |
commit | 09acddd7fd2b59afa69eca95b1e34739e1f1b31b (patch) | |
tree | 3376c27fb8183ad2af565706677736d267281c83 /gems/config | |
parent | bb01b338bfbc6e17996696145e6c495694b8f745 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'gems/config')
-rw-r--r-- | gems/config/rubocop.yml | 13 |
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 |