clj-kondo config
This commit is contained in:
parent
0428d983d9
commit
ef5c2cee2e
3 changed files with 12 additions and 1 deletions
1
.clj-kondo/babashka/sci/config.edn
Normal file
1
.clj-kondo/babashka/sci/config.edn
Normal file
|
|
@ -0,0 +1 @@
|
|||
{:hooks {:macroexpand {sci.core/copy-ns sci.core/copy-ns}}}
|
||||
9
.clj-kondo/babashka/sci/sci/core.clj
Normal file
9
.clj-kondo/babashka/sci/sci/core.clj
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(ns sci.core)
|
||||
|
||||
(defmacro copy-ns
|
||||
([ns-sym sci-ns]
|
||||
`(copy-ns ~ns-sym ~sci-ns nil))
|
||||
([ns-sym sci-ns opts]
|
||||
`[(quote ~ns-sym)
|
||||
~sci-ns
|
||||
(quote ~opts)]))
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{:lint-as {me.raynes.conch/let-programs clojure.core/let
|
||||
{:config-paths ["babashka/sci"]
|
||||
:lint-as {me.raynes.conch/let-programs clojure.core/let
|
||||
babashka.impl.File/gen-wrapper-fn clojure.core/def
|
||||
babashka.impl.Pattern/gen-wrapper-fn clojure.core/def
|
||||
babashka.impl.File/gen-wrapper-fn-2 clojure.core/def
|
||||
|
|
|
|||
Loading…
Reference in a new issue