Using flymake to check erb templates

Live syntax checking code in Emacs with flymake is extremely useful. It’s quite easy to use for syntax checking scripting languages or for running code analysis tools in the background. Flymake’s initial goal, however, was syntax checking compiled languages like C by running a custom make target. The flexibility needed to make all of this…