The View Layer Rails Couldn't See

For most of Rails’ history, almost every layer of the stack has had a tool that parses it. RuboCop reads your Ruby as a syntax tree; Brakeman traces tainted data through it; ESLint reads your JavaScript. The view layer was the exception. The ERB linters we had worked on the text of the template, not on the HTML that text produces. Marco Roth’s Herb closes that gap: written in C, it parses…