Closed Kaspazza closed 1 day ago
Having defstate like that (which is also mentioned as valid in README):
(defstate "my doc" :start (try ...) :stop (when ...))
Will raise clj-kondo warning saying: lifecycle functions can only contain :start and :stop. illegal function found:
:start
:stop
Removing docstring
(defstate :start (try ...) :stop (when ...))
removes the warning.
Having defstate like that (which is also mentioned as valid in README):
Will raise clj-kondo warning saying: lifecycle functions can only contain
:start
and:stop
. illegal function found:Removing docstring
removes the warning.