Closed 7sDream closed 6 years ago
lib/mix/tasks
start.ex
defmodule Mix.Tasks.Start do use Mix.Task def run(_), do: "Hello World" |> IO.puts end
Elixir Linter will show a warning on line 1: [ElixirLS Dialyzer] Callback info about the 'Elixir.Mix.Task' behaviour is not available
[ElixirLS Dialyzer] Callback info about the 'Elixir.Mix.Task' behaviour is not available
Append: After I follow those steps on stackoverflow, run mix dialyzer in shell don't show warnings anymore, but VS Code keep showing.
mix dialyzer
Sorry, the warning is issued by another extension.
lib/mix/tasks
start.ex
inlib/mix/tasks
with content:Elixir Linter will show a warning on line 1:
[ElixirLS Dialyzer] Callback info about the 'Elixir.Mix.Task' behaviour is not available
Append: After I follow those steps on stackoverflow, run
mix dialyzer
in shell don't show warnings anymore, but VS Code keep showing.