Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronjensen/flycheck-credo
https://github.com/aaronjensen/flycheck-credo
credo elixir emacs flycheck melpa
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaronjensen/flycheck-credo
- Owner: aaronjensen
- Created: 2016-09-01T12:30:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T16:55:55.000Z (about 1 year ago)
- Last Synced: 2024-10-11T03:17:38.410Z (4 months ago)
- Topics: credo, elixir, emacs, flycheck, melpa
- Language: Emacs Lisp
- Size: 6.84 KB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flycheck-credo [![MELPA](https://melpa.org/packages/flycheck-credo-badge.svg)](https://melpa.org/#/flycheck-credo)
[flycheck][] checker for [credo][].
## Installation
You can install this package from [Melpa][]
```
M-x package-install RET flycheck-credo RET
```## Usage
Ensure that `credo` is installed in your project.
Then, in your `init.el`:
```elisp
(eval-after-load 'flycheck
'(flycheck-credo-setup))
(add-hook 'elixir-mode-hook 'flycheck-mode)
```This package works with both [elixir-ts-mode](https://github.com/wkirschbaum/elixir-ts-mode) and [elixir-mode](https://github.com/elixir-editors/emacs-elixir).
## Options
You can tell flycheck-credo to call credo with the '--strict' argument.
```elisp
(setq flycheck-elixir-credo-strict t)
```## Thanks
* [@rrrene][] for [credo][].
* [@lunaryorn][] for [flycheck][].[flycheck]: http://www.flycheck.org/
[credo]: https://github.com/rrrene/credo
[@rrrene]: https://github.com/rrrene
[@lunaryorn]: https://github.com/lunaryorn
[Melpa]: http://melpa.milkbox.net/