diff options
author | Adam Trepanier <adam-e-trepanier@users.noreply.github.com> | 2019-03-11 04:12:32 -0500 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-03-11 09:12:32 +0000 |
commit | a22ab78dd758da2d17bef01de5bad1f394911e9d (patch) | |
tree | a96c4a9ed2f4a438f5f53eac3415bfd1f2d6b53d /doc | |
parent | a6012d853c4bc5251b01cc7b58177ba665f11609 (diff) | |
download | ale-a22ab78dd758da2d17bef01de5bad1f394911e9d.zip |
make options for credo configurable (#2337)
* Add credo --strict option
If a user sets 'let g:ale_elixir_credo_strict=1' it will run credo with
--strict instead of suggest. The default (0) is to run as suggest.
* Added credo docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-elixir.txt | 12 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/ale-elixir.txt b/doc/ale-elixir.txt index 45c6de1d..5864f728 100644 --- a/doc/ale-elixir.txt +++ b/doc/ale-elixir.txt @@ -72,6 +72,18 @@ g:ale_elixir_elixir_ls_config *g:ale_elixir_elixir_ls_config* \ } < Consult the ElixirLS documentation for more information about settings. +=============================================================================== +credo *ale-elixir-credo* + +Credo (https://github.com/rrrene/credo) + +g:ale_elixir_credo_strict *g:ale_elixir_credo_strict* + + Type: Integer + Default: 0 + + Tells credo to run in strict mode or suggest mode. Set variable to 1 to + enable --strict mode. =============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index 5f98f269..3812c92d 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -119,6 +119,7 @@ ALE supports the following key features for linting: mix_format..........................|ale-elixir-mix-format| dialyxir............................|ale-elixir-dialyxir| elixir-ls...........................|ale-elixir-elixir-ls| + credo...............................|ale-elixir-credo| elm...................................|ale-elm-options| elm-format..........................|ale-elm-elm-format| elm-make............................|ale-elm-elm-make| @@ -2256,6 +2257,7 @@ documented in additional help files. mix_format............................|ale-elixir-mix-format| dialyxir..............................|ale-elixir-dialyxir| elixir-ls.............................|ale-elixir-elixir-ls| + credo.................................|ale-elixir-credo| elm.....................................|ale-elm-options| elm-format............................|ale-elm-elm-format| elm-make..............................|ale-elm-elm-make| |