Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added support for elixir-ts-mode #6

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Then, in your `init.el`:
(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.
Expand Down
2 changes: 1 addition & 1 deletion flycheck-credo.el
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ When non-nil, pass the `--strict' flag to credo."
(info line-start (file-name) ":" line ": " (or "F" "R" "C") ": " (message) line-end)
(warning line-start (file-name) ":" line ":" column ": " (or "D" "W") ": " (message) line-end)
(warning line-start (file-name) ":" line ": " (or "D" "W") ": " (message) line-end))
:modes elixir-mode)
:modes (elixir-ts-mode elixir-mode))

;;;###autoload
(defun flycheck-credo-setup ()
Expand Down