Last active
June 6, 2019 14:11
-
-
Save leandrocp/b4f551067db530c3878ce72f52413c0c to your computer and use it in GitHub Desktop.
elixir_code_quality_project_deps.exs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule YourProject.MixProject do | |
use Mix.Project | |
def project do | |
[ | |
# current configs... | |
elixirc_options: [warnings_as_errors: true], | |
aliases: aliases(), | |
dialyzer: [ | |
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}, | |
ignore_warnings: ".dialyzer_ignore.exs" | |
] | |
] | |
end | |
defp deps do | |
[ | |
# current deps... | |
# dev, test | |
{:credo, "~> 1.0", only: [:dev, :test], runtime: false}, | |
{:dialyxir, "~> 1.0.0-rc.6", only: [:dev, :test], runtime: false}, | |
{:sobelow, "~> 0.7", only: [:dev, :test], runtime: false} | |
] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment