summaryrefslogtreecommitdiff
path: root/ale_linters/eruby
AgeCommit message (Collapse)Author
2017-11-21Remove a Unicode character Vint complains aboutw0rp
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 erubis 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] 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
2017-08-21Add erubis linterJake Zimmerman
This linter works largely the same as the existing `erubylint` linter, except it works with `erubis` instead of `erb` as the driving command.
2017-04-25Add erb linter (#497)Matthias Günther
* Add eruby linter * Update README with erb linter * Fix example and contributions * Remove trailing newline * Fix for Vimscript style guide * Eruby-linter: codereview with @w0rp - read from stderro output_stream * Eruby-linter: codereview => add handler for ruby * Eruby-linter: codereview - eruby and ruby lint use the same ruby-handler (removes duplicated handling logic) * Eruby-linter: try to fix tests