Skip to content

Instantly share code, notes, and snippets.

@leandrocp
Last active June 5, 2019 15:17
Show Gist options
  • Save leandrocp/efbdce14cf2c9e2c60ac5dd44d1d7fca to your computer and use it in GitHub Desktop.
Save leandrocp/efbdce14cf2c9e2c60ac5dd44d1d7fca to your computer and use it in GitHub Desktop.
elixir_code_quality_project_function
def project do
[
app: :your_project,
version: "0.1.0",
elixir: "~> 1.6",
elixirc_paths: elixirc_paths(Mix.env()),
elixirc_options: [warnings_as_errors: true],
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
ignore_warnings: ".dialyzer_ignore.exs"
]
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment