diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-01-24 10:40:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 10:40:57 +0000 |
commit | 9849c79ff767b9f2e3498230bb29071eeb5a77ef (patch) | |
tree | c0816ce9c042dfb023074f5e46e3d95ffdd08cd6 /doc | |
parent | b28a6ddbe4cf573ea993288a6ad4db569d535adf (diff) | |
parent | aa29c91cdc9c5dc737e93c1f91080aa174363bef (diff) | |
download | ale-9849c79ff767b9f2e3498230bb29071eeb5a77ef.zip |
Merge pull request #1157 from elebow/eruby-add-erubi-linter
[eruby] Add erubi linter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-eruby.txt | 12 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/doc/ale-eruby.txt b/doc/ale-eruby.txt index bfbe9ad2..a0f6f4f8 100644 --- a/doc/ale-eruby.txt +++ b/doc/ale-eruby.txt @@ -1,17 +1,15 @@ =============================================================================== ALE Eruby Integration *ale-eruby-options* -There are two linters for `eruby` files: +There are three linters for `eruby` files: - `erb` - `erubis` +- `erubi` -If you don't know which one your project uses, it's probably `erb`. -To selectively enable one or the other, see |g:ale_linters|. - -(Note that ALE already disables linters if the executable for that linter is -not found; thus, there's probably no need to disable one of these if you're -using the other one.) +`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: diff --git a/doc/ale.txt b/doc/ale.txt index ddda902e..e0002f77 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -306,7 +306,7 @@ Notes: * Dockerfile: `hadolint` * Elixir: `credo`, `dialyxir`, `dogma`!! * Elm: `elm-format, elm-make` -* Erb: `erb`, `erubis` +* Erb: `erb`, `erubi`, `erubis` * Erlang: `erlc`, `SyntaxErl` * Fish: `fish` (-n flag) * Fortran: `gcc` |