ktlint
ktlint copied to clipboard
`chain-method-continuation` wrapping fully qualified function/constructor calls
Consider the following code:
fun foo(): Foo {
return dev.foo.p1.p2.Foo("bar")
}
Expected Behavior
Code should be accepted as is.
Observed Behavior
chain-method-continuation
rule fails.
Steps to Reproduce
https://github.com/pinterest/ktlint/pull/2796