NonGNU ELPA - flymake-kondor

flymake-kondor

Description
Linter with clj-kondo
Latest
flymake-kondor-0.1.2.tar, 2021-Oct-23, 50.0 KiB
Maintainer
https://turbocafe.keybase.pub <>
Home page
https://github.com/turbo-cafe/flymake-kondor
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET flymake-kondor RET

Full description

This package integrates clj-kondo a Clojure linter into Emacs' Flymake; to use it get clj-kondo following installation instructions; then proceed with your preferred way of adding packages.

1 MELPA

(use-package flymake-kondor
  :ensure t
  :hook (clojure-mode . flymake-kondor-setup))

2 GitHub

(el-get-bundle flymake-kondor
	       :url "https://raw.githubusercontent.com/turbo-cafe/flymake-kondor/master/flymake-kondor.el"
	       (add-hook 'clojure-mode-hook #'flymake-kondor-setup))

3 Local

(add-to-list 'load-path "~/path/to/flymake-kondor")
(require "flymake-kondor")
(add-hook 'clojure-mode-hook #'flymake-kondor-setup)

4 Note about Flymake

To start linting activate M-x flymake-mode in a Clojure buffer; even better assign hook and keys so you could navigate to the previous or next error in the buffer instantly.

(use-package flymake
  :ensure nil
  :bind (([f8] . flymake-goto-next-error)
	 ([f7] . flymake-goto-prev-error))
  :hook (prog-mode . (lambda () (flymake-mode t)))
  :config (remove-hook 'flymake-diagnostic-functions #'flymake-proc-legacy-flymake))

There is a sister project that integrates clj-kondo into Flycheck.

Old versions

flymake-kondor-0.1.0.tar.lz2021-Oct-0813.1 KiB