aa29c91cdc
Erubi is yet another parser for eRuby. This is the default parser in Rails as of version 5.1. It supports some additional syntax with similar behavior to Rails' extensions to the language, though incompatible. Rails currently still recommends their own syntax, so GetCommand still has to do the translation introduced in https://github.com/w0rp/ale/pull/1114 . Erubi does not supply an executable—It is intended to be invoked only from within a Ruby program. In this case, a one-liner on the command line.
15 lines
582 B
Text
15 lines
582 B
Text
===============================================================================
|
|
ALE Eruby Integration *ale-eruby-options*
|
|
|
|
There are three linters for `eruby` files:
|
|
|
|
- `erb`
|
|
- `erubis`
|
|
- `erubi`
|
|
|
|
`erb` is in the Ruby standard library and is mostly universal. `erubis` is the
|
|
default parser in Rails between 3.0 and 5.1. `erubi` is the default in Rails
|
|
5.1 and later. To selectively enable a subset, see |g:ale_linters|.
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|