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
I have the following code, which seems to be triggering some strange behaviors around the indent rule.
It's incorrectly flagging the indent on the return statement, but only in the VSCode plugin. The cli says no errors.
It's impossible to turn off. Even setting all rules to empty in both .groovylintrc.json and groovylintrc-format.json it still triggers.
publicclassTest {
publicstaticObservable<Something>testing() {
return api
.flatMap({ Mapsomething->if (!something) {
// This return is reported as being on the wrong levelreturnObservable.empty()
}
})
// This next part is required to trigger the bug. If you delete it, the above return statement// is detected as being at the correct indent level 🤯
.flatMap()
}
}
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.
I have the following code, which seems to be triggering some strange behaviors around the indent rule.
.groovylintrc.json
andgroovylintrc-format.json
it still triggers.The text was updated successfully, but these errors were encountered: