rails-templates icon indicating copy to clipboard operation
rails-templates copied to clipboard

Fix: Remove the `Has missing safe method 'authorize!'` check from the Danger code review

Open malparty opened this issue 2 years ago • 0 comments

Issue

Our conventions require us to use bang! methods that do not have safe equivalent. But our Danger code review bot will raise a warning each time:

image

Expected

No false warnings, because they create noise in the PR process.

Solution

Add in the .reek.yml the ignore statement:

MissingSafeMethod:
    enabled: false

malparty avatar Sep 20 '22 10:09 malparty