mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
* 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
This commit is contained in:
13
doc/ale.txt
13
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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user