about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-01-29T17·14-0500
committerglittershark <grfn@gws.fyi>2021-01-29T21·47+0000
commitc726c6c2647aab533281471e222aa64fe36e490b (patch)
tree2fcc81dff18ec6148aef4abb764c58d068d092e8
parent892c51caa6c95d4863fa25bb12a87897927f7843 (diff)
feat(gs/emacs): Only run clj-kondo on clojure files r/2158
Change-Id: Ia7f18e0514f29e450dfc6a7bbdbc5e47ab7636b5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2460
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/glittershark/emacs.d/clojure.el6
-rw-r--r--users/glittershark/system/home/modules/development.nix1
2 files changed, 6 insertions, 1 deletions
diff --git a/users/glittershark/emacs.d/clojure.el b/users/glittershark/emacs.d/clojure.el
index 9b8e8159370f..07f1a4e21373 100644
--- a/users/glittershark/emacs.d/clojure.el
+++ b/users/glittershark/emacs.d/clojure.el
@@ -9,7 +9,11 @@
            "><!?")))
 
 (defun +grfn/clojure-setup ()
-  (flycheck-mode -1))
+  ;; (flycheck-select-checker 'clj-kondo)
+  (push 'clojure-cider-kibit flycheck-disabled-checkers)
+  (push 'clojure-cider-eastwood flycheck-disabled-checkers)
+  (push 'clojure-cider-typed flycheck-disabled-checkers)
+  )
 
 (after! clojure-mode
   (define-clojure-indent
diff --git a/users/glittershark/system/home/modules/development.nix b/users/glittershark/system/home/modules/development.nix
index 31dc996551c8..4a9554ae7c07 100644
--- a/users/glittershark/system/home/modules/development.nix
+++ b/users/glittershark/system/home/modules/development.nix
@@ -58,6 +58,7 @@ with lib;
     clj2nix
     clojure
     leiningen
+    clj-kondo
 
     pg-dump-upsert