x0id / mix_elvis

Run Elvis linter via Mix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mix Elvis

Run Elvis linter for projects that are using Mix.

Installation

The package can be installed by adding mix_elvis to your list of dependencies in mix.exs:

def deps do
  [
    {:mix_elvis, "~> 0.1.0"}
  ]
end

Usage

Install and run mix elvis. You can configure Elvis via:

  • elvis.config file (Erlang file:consult/1 format)
  • :elvis entry in project configuration (remember to use charlists instead of binaries)
  • application configuration (remember to use charlists as well)

License

See LICENSE.

About

Run Elvis linter via Mix

License:MIT License


Languages

Language:Elixir 97.6%Language:Nix 2.4%