   '(
     alchemist
     company
-    (flycheck-elixir-credo
-     :location (recipe :fetcher github
-                       :repo "smeevil/flycheck-elixir-credo"))
     (elixir-flycheck-mix-compile
      :location local
      :toggle (configuration-layer/package-usedp 'flycheck))
-    (flycheck-elixir-testresult
-     :location (recipe :fetcher github
-                       :repo "smeevil/flycheck-elixir-testresult"
-                       :files ("flycheck_formatter.exs"
-                               "mix_test_helper"
-                               "flycheck-elixir-testresult.el")))
     elixir-mode
     flycheck
     popwin

      (add-to-list 'exec-path
                   (concat layer-path
                           "elixir/local/elixir-flycheck-mix-compile")))))

(defun elixir/init-flycheck-elixir-testresult ()
  (use-package flycheck-elixir-testresult
    :defer t
    :init (add-hook 'elixir-mode-hook 'flycheck-elixir-testresult-setup t)
    ;; enable mix_test_helper executable
    :config (add-to-list 'exec-path (spacemacs//get-package-directory
                                     'flycheck-elixir-testresult))))

(defun elixir/init-elixir-mode ()
  (use-package elixir-mode

      (evil-define-key 'normal mode
        (kbd "q") 'quit-window))))

(defun elixir/init-elixir-flycheck-mix-compile ()
  (use-package elixir-flycheck-mix-compile
    :commands (elixir-flycheck-mix-compile-setup)
