Having trouble where to find a specific solution to disable Missing newline after ":" and Missing newline after "," of ktlint rules, when running ktlintCheck in my kotlin codes in Android
This is my code that encounters error:
class MainActivity : BaseActivity(),
DateSelectionListener, AttachmentsSelectionListener,
LocationStateListener
{
}
This is what the ktlint requires me to format my code:
class MainActivity : BaseActivity(), DateSelectionListener, AttachmentsSelectionListener, LocationStateListener
{
}
I just wanted to bring the interfaces below one another since bunch of interfaces consumes too much of code line.