summaryrefslogtreecommitdiff
path: root/ale_linters/eruby/erb.vim
AgeCommit message (Collapse)Author
2017-12-13Fix erb linter for puppet style erb scriptsJelte Fennema
2017-11-16erb, erubis: Redirect file into first command.Eddie Lebow
The previous version relied on a zsh-specific behavior where `<filename` after a pipe could redirect to the first command. This is the standard way to do it.
2017-11-12[eruby] Add GetCommand to erb linterEddie Lebow
GetCommand conditionally adds a filter (implemented as inline Ruby code in the command line) to transform some of the problematic Rails-specific eRuby syntax. Specifically, <%= tags are replaced with <%. This does not reduce the effectiveness of the linter, because the transformed code is still evaluated. This solution was suggested by @rgo at https://github.com/w0rp/ale/issues/580#issuecomment-337676607.
2017-11-12[eruby] Rename `erubylint` → `erb` to match tool nameEddie Lebow