With ktlint and spotless when would be the best ti...
# ktlint
b
With ktlint and spotless when would be the best time to hook in and run spotlessApply?
s
I’m not super familiar with ktlint/spotless integration. @tapchicoma do you know?
t
nope, no idea. Probably @jlleitschuh may know the answer
b
Specifically looking at git hook Integration or a bitbucket pipeline/GitHub action
Realistically a linting best practice with PRs in mind
t
shameless chime-in -
ktlint-gradle
has githook functionality 🙂
probably you should just open an issue on spotless repo with this question and may receive faster answer there.
j
I don't think I fully understand they question. Sorry. Can you elaborate?