Skip to content

Commit

Permalink
Fix clj-kondo warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Oct 25, 2024
1 parent ec73609 commit e810422
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{:config-paths
["../resources/clj-kondo.exports/org.duct-framework/duct.logger"]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{:linters
{:unresolved-var {:exclude [duct.logger/report
duct.logger/fatal
duct.logger/error
duct.logger/warn
duct.logger/info
duct.logger/debug]}}}
4 changes: 2 additions & 2 deletions test/duct/logger_test.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns duct.logger-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[clojure.test :refer [deftest is]]
[duct.logger :as logger]))

(deftest nil-test
Expand All @@ -9,7 +9,7 @@

(defrecord AtomLogger [a ids]
logger/Logger
(-log [logger level ns-str file line id event data]
(-log [_ level ns-str file line id event data]
(swap! a conj [level ns-str file line event data])
(swap! ids conj (force id))))

Expand Down

0 comments on commit e810422

Please sign in to comment.