jonase / eastwood

Clojure lint tool
1.09k stars 66 forks source link

Support `while true` #386

Closed vemv closed 3 years ago

vemv commented 3 years ago

while true is a somewhat usual pattern (although it has alternatives like (while (not (-> (Thread/currentThread) .isInterrupted)), which assumes the loop will be interrupted somehow.

It'd be nice to support it OOTB, only for the true value, using the new :qualifier mechanism.