Skip to content

RuboCop TODO formatter: Retain all HAML exclusions

Peter Leitzen requested to merge pl-rubocop-todo-formatter-haml-ext into master

What does this MR do and why?

Previously, we only retained HAML exclusions which ended with html.haml.rb. We also need to retain exclusions with different format like text, atom, or no format (by mistake).

Follow-up of !123642 (merged).

Spotted during !115858 (comment 1441581996).

Contributes to #415330.

How to set up and validate locally

  1. Merge !115858 (closed)
  2. bundle exec rake rubocop:todo:generate[Style/RedundantInterpolation]
  3. Entry app/views/notify/project_was_not_exported_email.text.haml.rb is now retained

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 Peter Leitzen

Merge request reports