` removeSemicolons()` should not be applied to multiline strings in groovy
Open
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 559
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 34
Description
I have Groovy code like this:
```
'''
function (doc, meta) {
if (doc._class == "springdata.Doc") {
emit(meta.id, null);
}
}
'''.stripIndent()
```
and when I use `removeSemicolons()` with my spotless Gradle plugin it removes `;` for `emit(meta.id, null);`
That is not expected. Is that possible to fix?
Contributor guide
Assessment
This issue has not been assessed yet.