After upgrading to `1.7.0` I get the following err...
# ktlint
l
After upgrading to
1.7.0
I get the following error:
Copy code
> Task :runKtlintFormatOverKotlinScripts FAILED
Rule 'internal:ktlint-suppression' throws exception in file 'build.gradle.kts' at position (0:0)
   Rule maintainer: KtLint
   Issue tracker  : <https://github.com/pinterest/ktlint/issues>
   Repository     : <https://github.com/pinterest/ktlint>
Has anyone else encountered a similar issue?
All I can see in the way of details is this:
Copy code
* What went wrong:
Execution failed for task ':runKtlintFormatOverKotlinScripts'.
> A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.KtLintWorkAction
   > KtLint failed to parse file: /path_to/my_service/build.gradle.kts
I'm guessing this is related to https://github.com/pinterest/ktlint/issues/3074 In my case, I removed
.editorconfig
entirely and I still get said error.