mirror of
https://github.com/richardharrington/robotwar.git
synced 2026-11-25 14:21:40 +00:00
Wires up clj-kondo linting and cljfmt formatting via deps.edn aliases, a pre-commit hook, and VS Code settings (format-on-save, trim trailing whitespace) so style issues get caught before they land. Applies cljfmt's fixes across the existing codebase and removes stray trailing whitespace so the tree starts from a clean baseline. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
754 B
Clojure
14 lines
754 B
Clojure
{:paths ["src/main"]
|
|
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
|
|
org.clojure/clojurescript {:mvn/version "1.11.132"}
|
|
thheller/shadow-cljs {:mvn/version "2.28.20"}
|
|
clj-time/clj-time {:mvn/version "0.15.2"}}
|
|
:aliases {:lint {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2023.12.15"}}
|
|
:main-opts ["-m" "clj-kondo.main"]}
|
|
:cljfmt {:deps {dev.weavejester/cljfmt {:mvn/version "0.16.4"}}
|
|
:ns-default cljfmt.tool}
|
|
:test {:extra-paths ["src/test"]
|
|
:extra-deps {io.github.cognitect-labs/test-runner
|
|
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
|
|
:main-opts ["-m" "cognitect.test-runner" "-d" "src/test"]}}}
|