Skip to content

Commit

Permalink
Disable buggy ActionControllerFlashBeforeRender cop
Browse files Browse the repository at this point in the history
This cop seems to have quite a lot false positives pop up every now and
then which are actually harmful since we won't render the flash in these
cases.

See rubocop/rubocop-rails#843 and
renuo/vdrb-kas@7978dd7
  • Loading branch information
rnestler committed Jan 23, 2023
1 parent ca3048f commit cab38c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ Rails/I18nLocaleAssignment:
Exclude:
- 'spec/**/*'

Rails/ActionControllerFlashBeforeRender:
Enabled: false

Metrics/MethodLength:
CountAsOne:
- array
Expand Down

0 comments on commit cab38c7

Please sign in to comment.