Skip to content

Danger: Suggest to use formalized reason for inline disables of cops

What does this MR do and why?

Let Danger bot 🤖 suggest to recommended way of add a code comment when disabling a RuboCop rule inline.

See https://docs.gitlab.com/ee/development/rubocop_development_guide.html#disabling-rules-inline

Inspired by !134882 (comment 1615016584)

Related to #429264 (closed)

Screenshots or screen recordings

Screenshot_from_2023-10-24_15-36-49 Screenshot_from_2023-10-24_15-36-37 Screenshot_from_2023-10-24_15-36-27

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Doug Stull

Merge request reports