summaryrefslogtreecommitdiff
path: root/test/command_callback/test_erb_command_callback.vader
AgeCommit message (Collapse)Author
2018-07-15Massively reduce the amount of code needed for linter testsw0rp
2017-12-19erb: fix testsJelte 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.