Skip to content

Commit e9ee5dd

Browse files
committed
lint: have clj-kondo also check our new build.clj
1 parent 7fe7fa3 commit e9ee5dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

script/lint_kondo.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
(status/line :detail "Building cache")
2222
(when (cache-exists?)
2323
(delete-cache))
24-
(let [clj-cp (-> (shell/command {:out :string}
25-
"clojure -A:test:lint-cache -Spath" )
24+
(let [clj-cp (-> (shell/command {:out :string}
25+
"clojure -A:test:lint-cache -Spath")
2626
:out string/trim)
2727
bb-cp (bbcp/get-classpath)]
2828
(shell/command "clojure -M:clj-kondo --dependencies --copy-configs --lint" clj-cp bb-cp)))
@@ -48,8 +48,8 @@
4848
(check-cache opts)
4949
(status/line :head "clj-kondo: linting")
5050
(let [{:keys [exit]}
51-
(shell/command {:continue true}
52-
"clojure -M:clj-kondo --lint src test script deps.edn")]
51+
(shell/command {:continue true}
52+
"clojure -M:clj-kondo --lint src test script deps.edn build.clj")]
5353
(cond
5454
(= 2 exit) (status/die exit "clj-kondo found one or more lint errors")
5555
(= 3 exit) (status/die exit "clj-kondo found one or more lint warnings")

0 commit comments

Comments
 (0)