Skip to content

Commit

Permalink
chore(clj-kondo config): update linter exclusions and add 'defnk' to …
Browse files Browse the repository at this point in the history
…unresolved-symbol exclusions

The commit updates the `.clj-kondo/config.edn` configuration file to exclude the `defnk` macro from the `unresolved-symbol` linter checks, in addition to the existing exclusions. This change is likely made to prevent false positives from the linter for symbols that are valid in the project's context but not recognized by clj-kondo by default.
  • Loading branch information
ccfontes committed Dec 20, 2023
1 parent 1b95fc4 commit 15fb02e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{:redefined-var {:level :off}
:duplicate-require {:level :off}
:namespace-name-mismatch {:level :off}}
:config-in-ns {tests {:linters {:unresolved-symbol {:exclude [(eg/eg)
(eg/ex)
(plumula.mimolette.alpha/defspec-test [spec-check-index])]}}}
:config-in-ns {tests {:linters {:unresolved-symbol {:exclude [(defnk)
(eg/eg)
(eg/ex)
(plumula.mimolette.alpha/defspec-test [spec-check-index])]}}}
index {:linters {:invalid-arity {:level :off}}}}}

0 comments on commit 15fb02e

Please sign in to comment.