I'm getting this error with ktlint: ```Not a valid...
# arrow-contributors
p
I'm getting this error with ktlint:
Copy code
Not a valid Kotlin file (expecting a parameter declaration) (cannot be auto-corrected)
The line in question has a trailing comma, is this something we need to enable on ktlint? Or maybe we need to upgrade ktlint? I found this, but there doesn't seem to be any resolution, it's just closed 🤔 https://github.com/pinterest/ktlint/issues/729
r
Hi @pablisco!! I didn't get that error yet. Both versions, KTLint and KTLint Gradle Plugin could be updated. Thanks!!! 🙌
p
👍 Do we have a ticket for that? I'll see if I can get some time to havea look at upgrading them
d
Hi @pablisco I just created the ticket: https://github.com/arrow-kt/arrow/issues/2228 It was also failing for
fun-interfaces
Feel free to take it anytime!! Thanks!! 😄
💯 1
p
Thank you @danieeh I'll see if I can look at it tonight
🙌 1
🔝 1
888 Views