Merge pull request #1157 from elebow/eruby-add-erubi-linter
[eruby] Add erubi linter
This commit is contained in:
commit
9849c79ff7
5 changed files with 73 additions and 9 deletions
|
@ -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:
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue