Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hauleth/mix_elvis

Run Elvis linter via Mix
https://github.com/hauleth/mix_elvis

elixir elvis erlang linter

Last synced: 3 months ago
JSON representation

Run Elvis linter via Mix

Awesome Lists containing this project

README

        

# Mix Elvis

Run [Elvis][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`:

```elixir
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](LICENSE).

[elvis]: https://github.com/inaka/elvis_core