We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
babashka.process/$
version
v2021.08.06
platform
MacOS Catalina, native clj-kondo
editor
Emacs + flycheck
problem
clj-kondo incorrectly flags bindings used in the options map to $ as unused. This manifests several ways:
$
side note: the babashka.process repo still has deprecated kondo config for the $ macro
babashka.process
repro
;; foo.clj (ns foo (:require [babashka.process :refer [$] :as p])) (defn example [] (let [env {"SOME_VAR" "wee"}] ;; unused binding env (-> ($ {:out :string :env env} echo "hi") (p/check) (:out) (println))))
config
{}
expected behavior
clj-kondo should recognize env as being used.
env
The text was updated successfully, but these errors were encountered:
[#1368] Support options map in $\n\nSee previous commit
d21547e
[#1368] Support $ option in babashka.process
957bcc9
See commit 1466fef for the actual work
[clj-kondo#1368] Test to catch lint regressions caused by re-frame an…
0452af6
…alysis add https://github.com/athensresearch/athens cljs code snapshot as is now to lint against
No branches or pull requests
version
v2021.08.06
platform
MacOS Catalina, native clj-kondo
editor
Emacs + flycheck
problem
clj-kondo incorrectly flags bindings used in the options map to
$
as unused. This manifests several ways:side note: the
babashka.process
repo still has deprecated kondo config for the$
macrorepro
config
expected behavior
clj-kondo should recognize
env
as being used.The text was updated successfully, but these errors were encountered: