Skip to content
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

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

cap10morgan
Copy link
Contributor

No description provided.

@cap10morgan cap10morgan requested a review from a team December 18, 2023 19:46
This was referenced Dec 18, 2023
Copy link
Contributor Author

cap10morgan commented Dec 18, 2023

This was referenced Dec 18, 2023
:tx-id tx-id
:ledger-id ledger-id
:instant (System/currentTimeMillis)})
'{:txn txn
Copy link
Contributor

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.

Copy link
Contributor Author

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}
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@cap10morgan cap10morgan force-pushed the 12-18-Correct_clj-kondo_errors_and_warnings branch from a5c6e7e to ceae096 Compare December 19, 2023 18:23
@cap10morgan cap10morgan requested a review from a team December 19, 2023 18:23
Copy link
Contributor

@zonotope zonotope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

cap10morgan commented Jan 2, 2024

Merge activity

@cap10morgan cap10morgan force-pushed the 12-18-Add_cljfmt_check_in_CI_pipeline branch from 63e5055 to c7485ef Compare January 2, 2024 20:02
@cap10morgan cap10morgan force-pushed the 12-18-Correct_clj-kondo_errors_and_warnings branch from ceae096 to 4ed4786 Compare January 2, 2024 20:02
@cap10morgan cap10morgan requested a review from a team January 2, 2024 20:02
@cap10morgan cap10morgan force-pushed the 12-18-Add_cljfmt_check_in_CI_pipeline branch from c7485ef to 7e26c94 Compare January 4, 2024 19:14
@cap10morgan cap10morgan force-pushed the 12-18-Correct_clj-kondo_errors_and_warnings branch from 4ed4786 to 826f749 Compare January 4, 2024 19:14
Base automatically changed from 12-18-Add_cljfmt_check_in_CI_pipeline to main January 4, 2024 19:20
@cap10morgan cap10morgan merged commit 5887fd9 into main Jan 4, 2024
3 of 5 checks passed
@cap10morgan cap10morgan deleted the 12-18-Correct_clj-kondo_errors_and_warnings branch January 4, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants