Work around hot-reloading issue

See https://github.com/phoenixframework/phoenix/issues/1165 for more detail
This commit is contained in:
sharils 2017-12-26 22:13:05 +08:00
parent e43e7065da
commit 29acafdaf4
No known key found for this signature in database
GPG Key ID: 384DDCB9AC6D79B5
2 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,6 @@ endfunction
call ale#linter#Define('elixir', {
\ 'name': 'credo',
\ 'executable': 'mix',
\ 'command': 'mix credo suggest --format=flycheck --read-from-stdin %s',
\ 'command': 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s',
\ 'callback': 'ale_linters#elixir#credo#Handle',
\})

View File

@ -32,7 +32,7 @@ endfunction
call ale#linter#Define('elixir', {
\ 'name': 'dogma',
\ 'executable': 'mix',
\ 'command': 'mix dogma %s --format=flycheck',
\ 'command': 'mix help dogma && mix dogma %s --format=flycheck',
\ 'lint_file': 1,
\ 'callback': 'ale_linters#elixir#dogma#Handle',
\})