chore(deps): update dependency clj-kondo:clj-kondo to v2025 #53
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2024.05.24
->2025.07.28
Release Notes
clj-kondo/clj-kondo (clj-kondo:clj-kondo)
v2025.07.28
Compare Source
:locking-suspicious-lock
false positives:condition-always-true
false positivesv2025.07.26
Compare Source
:locking-suspicious-lock
: report when locking is used on a single arg, interned value or local object:unresolved-protocol-method
. See docs (@emerson-matos)clojure.string/replace
andpartial
as replacement fn:condition-always-true
check. (@NoahTheDuke)schema.core/defprotocol
(@emerson-matos)str
0.10.47
:deprecated-namespace
for.cljc
namespacesv2025.06.05
Compare Source
:discouraged-java-method
. See docs:config-in-ns
on:missing-protocol-method
:redundant-ignore
on:missing-protocol-method
format
and whitespace flag after percent:missing-protocol-method
when using alias in method:redundant-ignore
aware of.cljc
:missing-protocol-method
linterReentrantLock
to coordinate writes to cache directory within same process:langs
option in:discouraged-var
to narrow to specific language:ns
to&env
in:macroexpand-hook
macros when executing in CLJS:name
data to:unresolved-namespace
finding for clojure-lspv2025.04.07
Compare Source
:missing-protocol-method
. See docs.
, e.g.py.
according to clojure analyzer--repro
flag to ignore home configurationdeftype
form results inNPE
(alias)
bug (@Noahtheduke)v2025.02.20
Compare Source
:unknown-ns-options
will warn on malformed(ns)
calls. The linter is{:level :warning}
by default. (@Noahtheduke):do-template
linter to check args & values counts (@imrekoszo):discouraged-var
linter for fixed arities(Class/forName ...)
indefprotocol
andextend-type
:min-clj-kondo-version
results in incorrect warning (@imrekoszo):min-clj-kondo-version
warning/error should have a location inconfig.edn
(@imrekoszo)api/resolve
should returnnil
for unresolved symbols and localsapi/env
to determine if symbol is localapi/quote-node
andapi/quote-node?
to hooks API (@camsaul)v2025.01.16
Compare Source
:equals-float
, warn on comparison of floating point numbers with=
. This level of this linter is:off
by default.:discouraged-var
nil
return fromif
-like formsprintf
to vars linted byanalyze-format
. (@tomdl89)if-let
etc condition as always truthyif-not
condition as always truthy:cljc
config option. (@NoahTheDuke):redundant-nested-call
forcomp
,concat
,every-pred
andsome-fn
since it may affect performance:redundant-ignore
:config-in-ns
and:discouraged-namespace
v2024.11.14
Compare Source
:redundant-nested-call
(@tomdl89), set to level:info
by default:redundant-ignore
,:redundant-str-call
linters to level:info
:redundant-do
incatch
--report-level
flagrequire
and:require
forms (@NoahTheDuke)gen-interface
(by suppressing unresolved symbols)cond->
andcond->>
(@tomdl89)str/replace
and^String
annotationv2024.09.27
Compare Source
:redundant-ignore
linterv2024.09.26
Compare Source
:redundant-ignore
. See docsletfn
hooks-api/callstack
function--skip-lint
deftype
anddefrecord
constructors can be used withType/new
:sort
option to:unsorted-required-namespaces
linter to enable case-sensitive sort to match other toolsgen/fmap
var incljs.spec.gen.alpha
v2024.08.29
Compare Source
byte/1
):destructured-or-binding-of-same-map
which warns about:or
defaults referring to bindings of same map, which is undefined and may result in brokenbehavior
:analyze-call
hook:as-alias
with current namespace without warning about self-requiring namespacev2024.08.01
Compare Source
@x
should warn with type error aboutx
not being an IDeref, e.g. with@inc
do
anddoto
type checking (@yuhan0):unused-value
or
without arguments--dependencies --copy-configs
:discouraged-namespace
can have:level
per namespaceConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.