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
Yeah, that's an unfortunate consequence of indentation rule running only over the entire file. You'd have to disable it for the entire file. Or just hold off until next version of ktlint, where the fix is included (see #849)
The bug you're experiencing might have already be reported!
Please search in the issues before creating one.
Expected Behavior
Rule should be disabled and linting should pass.
Observed Behavior
Cannot disable Missing newline after "=" rule via either of the following methods.
val expectedMessage = """something""" // ktlint-disable
/* ktlint-disable */
val expectedMessage = """something"""
/* ktlint-enable */
Steps to Reproduce
Your Environment
Version of ktlint used:
Version 0.38.1
(Also present in version 0.37.2)
Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task):
Operating System and version:
Mac OS Mojave
The text was updated successfully, but these errors were encountered: