editorconfig
editorconfig copied to clipboard
Allow trailing comma = false for Kotlin not working in IntelliJ IDEA with Kotlinter
I want to forbid trailing commas in my Kotlin code. When I set these lines to false nothing happens and all trailing commas where set to my code and it overwrites hundreds of files.
What I am using:
- IntelliJ IDEA 2022.2.3 (Ultimate Edition)
- Kotlin 1.7.21
- Kotlinter 3.12.0
Here my .editorconfig file in root of my project:
# https://editorconfig.org
root = true
[*.{kt,kts}]
ij_kotlin_allow_trailing_comma=true
ij_kotlin_allow_trailing_comma_on_call_site=true