All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 call ale#assert#SetUpLinterTest('elixir', 'credo')
3 call ale#test#SetFilename('../test-files/elixir/mix_project/lib/app.ex')
7 unlet! g:ale_elixir_credo_strict
9 call ale#assert#TearDownLinterTest()
11 Execute(Builds credo command with normal project):
12 AssertLinterCwd ale#path#Simplify(g:dir . '/../test-files/elixir/mix_project')
14 \ 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s'
16 Execute(Builds credo command with umbrella project):
17 call ale#test#SetFilename('../test-files/elixir/umbrella_project/apps/mix_project/lib/app.ex')
19 AssertLinterCwd ale#path#Simplify(g:dir . '/../test-files/elixir/umbrella_project')
21 \ 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s'
23 Execute(Builds credo command with --strict mode when set to 1):
24 let g:ale_elixir_credo_strict = 1
27 \ 'mix help credo && mix credo --strict --format=flycheck --read-from-stdin %s'
29 Execute(Builds credo command with suggest mode by default):
31 \ 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s'
33 Execute(Builds credo command with suggest mode when set to 0):
34 let g:ale_elixir_credo_strict = 0
37 \ 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s'
39 Execute(Builds credo command with a custom config file):
40 let g:ale_elixir_credo_config_file = '/home/user/custom_credo.exs'
43 \ 'mix help credo && mix credo suggest --config-file /home/user/custom_credo.exs --format=flycheck --read-from-stdin %s'