summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index cb70ff168be..47c7e5b5e35 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -13,6 +13,8 @@ inherit_from:
<% end %>
- '.rubocop_todo.yml'
<% end %>
+ <%# See https://gitlab.com/gitlab-org/gitlab/-/issues/321982#rubymine-note for context on why namespaced_class has special handling here %>
+ - ./.rubocop_todo/gitlab/namespaced_class.yml
- ./rubocop/rubocop-migrations.yml
- ./rubocop/rubocop-usage-data.yml
- ./rubocop/rubocop-code_reuse.yml
@@ -173,7 +175,6 @@ Naming/FileName:
- CIDR
- SPDX
- MR
- - SSE
- JWT
- HLL
- GPG
@@ -286,6 +287,11 @@ Rails/HelperInstanceVariable:
- app/helpers/**/*.rb
- ee/app/helpers/**/*.rb
+Rails/MailerName:
+ Exclude:
+ # See for the context on why it's excluded https://gitlab.com/gitlab-org/gitlab/-/issues/239356#note_956419227
+ - 'app/mailers/notify.rb'
+
# GitLab ###################################################################
Gitlab/ModuleWithInstanceVariables: