rubocop-github
rubocop-github copied to clipboard
Allow RailsViewRenderShorthand errors to be autocorrected
This PR adds an autocorrect option to the RailsViewRenderShorthand cop, reusing the message text to fix up the problems. It's pretty simplistic as a solution but the messages are correct so it all works.