Eastwood linter gives "implicit-dependencies" warnings
pmonks opened this issue · 3 comments
pmonks commented
In my code I believe I've pulled in java-time correctly, using code such as:
(ns my.ns
(:require [java-time :as tm]))and then called java-time fns including:
tm/instanttm/zoned-date-timetm/local-datetm/formattm/plustm/minustm/after?- etc.
However when I run the eastwood linter over my code, it gives an implicit-dependences warning for each java-time fn I'm calling.
Am I requiring java-time incorrectly, is the java-time ns not requiring all of the various other java-time-internal namespaces properly, or is this a false negative from eastwood? My code certainly seems to be functioning correctly, fwiw.
dm3 commented
You are using java-time correctly. This is an issue #307 with Eastwood.
pmonks commented
Awesome! Thank you for the quick reply (and for the library - it's great!).
vemv commented
The Eastwood issue has been fixed in its 0.3.14 release