[openstreetmap/openstreetmap-website] Use squiggly heredocs instead of rails strip_heredoc (#2458)
notifications at github.com
Wed Dec 11 10:37:45 UTC 2019
I think the cop doesn't quite do what I expect, or what it's documentation suggests - looking at https://github.com/rubocop-hq/rubocop/blob/master/lib/rubocop/cop/layout/heredoc_indentation.rb#L75 it will bail out on a non-squiggly here doc if it has any identation. So it will only complain about unindented here docs and suggest indenting them with a squiggly here doc.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev