-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable most clj-kondo linters that are disabled by default #201
Conversation
Keeps antq and nvd-clojure mostly happy. I didn't update Timbre as 5.0.0 seems to involve some breaking changes.
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.
Will be a draft pr until clj-kondo/clj-kondo#1514 is solved
:unused-referred-var off ;; already offered by clean-ns | ||
:unresolved-namespace off ;; already offered by clean-ns | ||
;; https://github.com/clj-kondo/clj-kondo/blob/v2021.12.19/doc/linters.md | ||
:linters {:docstring-no-summary warn ;; disabled by default |
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.
Probably the only controversial one would be :docstring-no-summary
. I agree with the Clojure Style Guide that complete sentences lead to more comprehensible code.
Feel free to deliberate
Edit: also relevant clj-kondo/clj-kondo#1516
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.
Didn't add :docstring-no-summary finally, it might be feasible if it adds some extra options
Ready! |
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.
Enabled linters and updated dependencies seem reasonable. Formatting still works as expected.
Brief
QA plan
I ran
lein install
and verified that thereduce
linter is reported:Author checklist
Reviewer checklist