Closed
Description
Hi all,
In our code base we have many warnings of the type:
"variable xyz is unused"
I would like to turn on "warnings_as_errors" but that option does not seam to be working. I tried the following with no success (meaning I get the warnings but not the errors):
mix compile --warnings-as-errors
and I tried adding the following to my mix.exs file
def project do
[app: :sandbox,
version: "0.0.1",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.0",
erlc_options: [{:parse_transform, :lager_transform}, :warn_missing_spec, :warnings_as_errors],
elixirc_options: [warnings_as_errors: true], # <<------ added in hopes of getting warnings as errors
deps: deps]
end
Metadata
Assignees
Labels
No labels