-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing newline after namedParameter="""string"""
#898
Comments
I also tried disabling this but it did not seem to work? /* ktlint-disable indent */
json(jsonString = """{ "taskReferenceId": "1234" }""")
/* ktlint-enable indent */ I added this line. import android.view.* // ktlint-disable no-wildcard-imports Without the comment, I saw /* ktlint-disable no-wildcard-imports */
import android.view.*
/* ktlint-enable no-wildcard-imports */ Which worked as expected. This is a separate issue probably |
I could not reproduce your issue with build from current Please open a separate issue regarding "indent" rule disabling is not working. |
Yeah this is fixed already on master. Disabling the indent rule is also not possible at the moment as it runs all or nothing (only possible for the entire file), gonna be possible after we split it as mentioned in #764. Please look for the next release, we are planning to release 0.39.0 soon |
Expected Behavior
I expect the following to pass formatting.
Observed Behavior
Fails with:
Missing newline after "=" (indent)
Steps to Reproduce
Your Environment
0.38.1
(command line)4.0.1
with AGP3.6
The text was updated successfully, but these errors were encountered: