You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This exports the clj-kondo hook for `manifold.deferred/both`, along with the other clj-kondo config used internally by manifold.
After upgrading my project's deps from manifold `0.2.4` to `0.4.2`, I started getting unresolved-var warnings from clj-kondo everywhere I use any function that's defined after [this line](https://github.com/clj-commons/manifold/blob/12950654f185c65156a5817f5bec79a3afbfe401/src/manifold/deferred.clj#L466), which uses the `both` macro.
The warnings went away after merging the config from `.clj-kondo/config.edn`, which defines a hook that teaches clj-kondo how to interpret `both`, but which is available only while hacking on manifold itself, into the config in `resources/clj-kondo.exports/manifold/manifold/config.edn`, which is exported to projects that depend on manifold.
There's no change to hacking on manifold itself, because the internal config includes the exported config via `:config-paths`. This seems better than maintaining the clj-kondo config in two places.
0 commit comments