Skip to content

Commit

Permalink
test: state of the art linting
Browse files Browse the repository at this point in the history
  • Loading branch information
port19x committed Mar 13, 2023
1 parent 4005896 commit 0482c79
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
{:aliases {:repl/conjure {:extra-deps {nrepl/nrepl {:mvn/version "0.9.0"}
cider/cider-nrepl {:mvn/version "0.28.4"}}
:main-opts ["-m" "nrepl.cmdline"
"--middleware" "[cider.nrepl/cider-middleware]"
"--interactive"]}
;;; LINTERS (usually ran with e.g. `clj -M:test:eastwood`) ;;;
:build {:deps {io.github.clojure/tools.build {:git/tag "v0.8.1" :git/sha "7d40500"}}
:ns-default build}
{:deps {org.clojure/clojure {:mvn/version "1.11.1"}
org.clojure/tools.cli {:mvn/version "1.0.214"}
clj-http/clj-http {:mvn/version "3.12.3"}
hiccup/hiccup {:mvn/version "1.0.5"}
cheshire/cheshire {:mvn/version "5.11.0"}
quil/quil {:mvn/version "3.1.0"}}

;;; clj-kondo and clj-fmt are available at code-time through clojure-lsp
;;; how-to-ns is superseded by clj-kondo, yagni is not helpful
;;; LINTERS (run with `clj -M:test:linter`) ;;;
:aliases {
:eastwood {:extra-deps {jonase/eastwood {:mvn/version "1.3.0"}}
:main-opts ["-m" "eastwood.lint"]}
:cljfmt {:extra-deps {cljfmt/cljfmt {:mvn/version "0.9.2"}}
:main-opts ["-m" "cljfmt.main" "check"]}
:kibit {:extra-deps {jonase/kibit {:mvn/version "0.1.8"}}
:main-opts ["-e" "(require,'[kibit.driver,:as,k])(k/external-run,[\"src\"],nil)"]}
:depot {:replace-deps {olical/depot {:mvn/version "2.3.0"}}
:main-opts ["-m" "depot.outdated.main"]}
;;Run with `clj -X:yagni`
:yagni {:extra-deps {venantius/yagni {:mvn/version "0.1.7"}}
:exec-fn yagni.core/run-yagni
:exec-args {:source-paths ["src/hsnipe"]
:main hsnipe.core}}
:antq {:extra-deps {com.github.liquidz/antq {:mvn/version "2.2.992"}}
:main-opts ["-m" "antq.core"]}
}}

0 comments on commit 0482c79

Please sign in to comment.