clj-kondo config

This commit is contained in:
Michiel Borkent 2021-11-19 21:49:39 +01:00
parent 0428d983d9
commit ef5c2cee2e
3 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1 @@
{:hooks {:macroexpand {sci.core/copy-ns sci.core/copy-ns}}}

View 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)]))

View file

@ -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.File/gen-wrapper-fn clojure.core/def
babashka.impl.Pattern/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 babashka.impl.File/gen-wrapper-fn-2 clojure.core/def