diff options
author | Magnus <evnu@posteo.de> | 2017-01-22 14:42:18 +0100 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-01-22 13:42:18 +0000 |
commit | cae153b3ac506bf391b6d57a32a00b0c1e046f40 (patch) | |
tree | 145f867504a407d237dd5a4a492ddcb173f24339 /doc/ale.txt | |
parent | 23f8e7ddc5048507119dcb1abbf7763e26a65e11 (diff) | |
download | ale-cae153b3ac506bf391b6d57a32a00b0c1e046f40.zip |
Add erlc lint for Erlang (#248) (#255)
* Add erlc lint for Erlang (#248)
* Ignore certain errors in Erlang .hrl files (#248)
A .hrl file does not need to have a -module definition. Additionally, it
is common to have unused elements in such a file, as the entities will
be used in a file including the header.
* Address change requests to Erlang linter
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 940f2f0c..3421378a 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -34,6 +34,7 @@ CONTENTS *ale-contents* 4.22. rustc...........................|ale-linter-options-rustc| 4.23. python-mypy.....................|ale-linter-options-python-mypy| 4.24. python-pylint...................|ale-linter-options-python-pylint| + 4.25. erlang..........................|ale-linter-options-erlang| 5. Linter Integration Notes.............|ale-linter-integration| 5.1. merlin..........................|ale-linter-integration-ocaml-merlin| 5.2. rust.............................|ale-integration-rust| @@ -78,6 +79,7 @@ The following languages and tools are supported. * D: 'dmd' * Elixir: 'credo' * Elm: 'elm-make' +* Erlang: 'erlc' * Fortran: 'gcc' * Go: 'gofmt -e', 'go vet', 'golint', 'go build' * Haskell: 'ghc', 'hlint' @@ -827,6 +829,17 @@ g:ale_python_pylint_options *g:ale_python_pylint_options* after making sure it's installed for the appropriate Python versions (e.g. `python3 -m pip install --user pylint`). +------------------------------------------------------------------------------ +4.25. erlang *ale-linter-options-erlang* + +g:ale_erlang_erlc_flags *g:ale_erlang_erlc_flags* + + Type: |String| + Default: '`''`' + + This variable controls additional parameters passed to `erlc`, such as `-I` + or `-pa`. + =============================================================================== 5. Linter Integration Notes *ale-linter-integration* |