diff --git a/.clj-kondo/config.edn b/.clj-kondo/config.edn new file mode 100644 index 0000000..fc54084 --- /dev/null +++ b/.clj-kondo/config.edn @@ -0,0 +1 @@ +{:config-paths ["../resources/clj-kondo.exports/adambard/failjure"]} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3113132..f644a2d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,6 @@ out/ .lein-repl-history pom.xml pom.xml.asc + +# clj kondo +/.clj-kondo/.cache \ No newline at end of file diff --git a/resources/clj-kondo.exports/adambard/failjure/config.edn b/resources/clj-kondo.exports/adambard/failjure/config.edn new file mode 100644 index 0000000..8bdd666 --- /dev/null +++ b/resources/clj-kondo.exports/adambard/failjure/config.edn @@ -0,0 +1,11 @@ +{:lint-as {failjure.core/ok-> clojure.core/-> + failjure.core/ok->> clojure.core/->> + failjure.core/try-all clojure.core/let + failjure.core/try* clojure.core/try + failjure.core/when-failed clojure.core/fn + failjure.core/if-failed clojure.core/fn + failjure.core/attempt-all clojure.core/let + failjure.core/if-let-ok? clojure.core/if-let + failjure.core/if-let-failed? clojure.core/if-let + failjure.core/when-let-failed? clojure.core/when-let + failjure.core/when-let-ok? clojure.core/when-let}} \ No newline at end of file