Merge pull request #1157 from elebow/eruby-add-erubi-linter

[eruby] Add erubi linter
This commit is contained in:
w0rp 2018-01-24 10:40:57 +00:00 committed by GitHub
commit 9849c79ff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 73 additions and 9 deletions

View file

@ -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:

View file

@ -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`