You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KtLint complains for the empty line after Foo { and before override with experimental:no-empty-first-line-in-method-block] First line in a method block should not be empty. This is a false positive, since that empty line is not part of the function declaration, but of a class declaration.
The text was updated successfully, but these errors were encountered:
I want everything to be treated the same way, for me it seems this issue proposes to treat it differently by allowing empty line for anonymous classes while not allowing it in other places
For the following code:
KtLint complains for the empty line after
Foo {
and beforeoverride
withexperimental:no-empty-first-line-in-method-block] First line in a method block should not be empty
. This is a false positive, since that empty line is not part of the function declaration, but of a class declaration.The text was updated successfully, but these errors were encountered: