https://kotlinlang.org logo
#ktlint
Title
# ktlint
m

mateusz.kwiecinski

03/21/2022, 9:29 PM
And I can share one more: 3. I noticed
isUnitTestContext = true
gets passed when calling the any of
KtLint#lint
methods. It doesn’t break anything, but looks suspicious, so I thought it might be worth pointing out, especially when seeing todos like this 👇 AFAIU both ktlint-gradle and kotlinter-gradle use
lint
and
format
use this in regular usage, not in tests soo… 👀