(λ. borkdude) on Nostr: I've worked on and off on a feature in clj-kondo to detect that macro is used as a ...
I've worked on and off on a feature in clj-kondo to detect that macro is used as a value (which is reported by the compiler as an error normally). I'm curious if users will find false positives. If you can please test it on your Clojure project like this:
```
$ clj -Sdeps '{:deps {clj-kondo/clj-kondo {:git/sha "96344bd32257afdebf19ee634999c397000c1aa0" :git/url "
https://github.com/clj-kondo/clj-kondo";}}}
' -M -m clj-kondo.main --lint src
```
A simple example:
```
[let]
```
#clojure #cljKondo
Published at
2024-07-27 09:24:29Event JSON
{
"id": "be3dc6a159098ebcb91c10bf991202d6a0a6bd4a247032a87e21290ce0b29677",
"pubkey": "c4ef83416f079257f5390f7d55a65e684d1b498d196e0e71bb8b90e21a820e07",
"created_at": 1722072269,
"kind": 1,
"tags": [
[
"t",
"clojure"
],
[
"t",
"cljKondo"
],
[
"proxy",
"https://mastodon.social/users/borkdude/statuses/112857728255202706",
"activitypub"
]
],
"content": "I've worked on and off on a feature in clj-kondo to detect that macro is used as a value (which is reported by the compiler as an error normally). I'm curious if users will find false positives. If you can please test it on your Clojure project like this:\n\n```\n$ clj -Sdeps '{:deps {clj-kondo/clj-kondo {:git/sha \"96344bd32257afdebf19ee634999c397000c1aa0\" :git/url \"https://github.com/clj-kondo/clj-kondo\"}}}\n' -M -m clj-kondo.main --lint src\n```\n\nA simple example: \n\n```\n[let]\n```\n\n#clojure #cljKondo",
"sig": "1730daecbb7299f432ea11fb54e42aca75df6e3b825cde5bcd50e19fe26993e887a966c4f6b92c6c3be899b8bcaa6cfdf5dbaaa580fbc9459a55980939301ccf"
}