Commit 04eea031 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'improve-usage-of-Rails-SaveBang' into 'master'

Enable AllowImplicitReturn:false for Rails/SaveBang rubocop rule

See merge request gitlab-org/gitlab!34502
parents d839727c 5f99deea
...@@ -471,6 +471,8 @@ Rails/TimeZone: ...@@ -471,6 +471,8 @@ Rails/TimeZone:
# WIP: See https://gitlab.com/gitlab-org/gitlab/-/issues/220040 # WIP: See https://gitlab.com/gitlab-org/gitlab/-/issues/220040
Rails/SaveBang: Rails/SaveBang:
Enabled: true Enabled: true
AllowImplicitReturn: false
AllowedReceivers: ['ActionDispatch::TestRequest']
Include: Include:
- 'spec/**/*.rb' - 'spec/**/*.rb'
- 'ee/spec/**/*.rb' - 'ee/spec/**/*.rb'
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment