https://github.com/hauleth/mix_elvis
Run Elvis linter via Mix
https://github.com/hauleth/mix_elvis
elixir elvis erlang linter
Last synced: 8 months ago
JSON representation
Run Elvis linter via Mix
- Host: GitHub
- URL: https://github.com/hauleth/mix_elvis
- Owner: hauleth
- License: mit
- Created: 2019-07-01T16:25:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-01T16:29:51.000Z (over 6 years ago)
- Last Synced: 2025-02-02T01:03:26.042Z (over 1 year ago)
- Topics: elixir, elvis, erlang, linter
- Language: Elixir
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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