-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Correct clj-kondo errors and warnings #28
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
:tx-id tx-id | ||
:ledger-id ledger-id | ||
:instant (System/currentTimeMillis)}) | ||
'{:txn txn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this map really be quoted? there are a bunch of function calls inside.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's quoted because most of the symbols inside are not resolvable, which clj-kondo flags. It's just a commented-out example anyway.
@@ -11,6 +11,7 @@ | |||
res))) | |||
|
|||
(defmacro defhandler | |||
{:clj-kondo/lint-as 'clojure.core/defn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there might not be a way around it, but i'm not a big fan of annotations for external tooling in code. i'd prefer that this kind of stuff go in a separate config file if possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think there's a way to do that. I'll look into it.
a5c6e7e
to
ceae096
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛽
Merge activity
|
63e5055
to
c7485ef
Compare
ceae096
to
4ed4786
Compare
c7485ef
to
7e26c94
Compare
4ed4786
to
826f749
Compare
No description provided.