You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For our (private) project, we're currently in the process of upgrade from HAML 5 to 6.
After the upgrade, RBP marks all of our helper methods which we use in our HAML templates as unused.
This is an example:
### Icon view helper.#moduleIconViewHelper### Creates HTML for icons including screen reader texts.## This method rightfully has a :reek:ControlParameter.## @param [Boolean] icon_type true for "yes" and false for "no"## @return [String] the rendered HTML#deficon_yes_or_no(icon_type)icon=icon_type ? 'check' : 'times'screen_reader_text_key=icon_type ? 'yes' : 'no'renderpartial: 'shared/accessible_icon',locals: {icon_file_name: icon,screen_reader_text: t("views.#{screen_reader_text_key}")}endend
For our (private) project, we're currently in the process of upgrade from HAML 5 to 6.
After the upgrade, RBP marks all of our helper methods which we use in our HAML templates as unused.
This is an example:
The text was updated successfully, but these errors were encountered: