I have run into a weird situation. I have a file t...
# ktlint
d
I have run into a weird situation. I have a file that i 100% know is violating
filename
rule. But ktlint is not reporting this to me. However my colleague just ran into this violation. I am on macOS, he is on Linux (not sure if this matters). Version: 0.40.0 Any ideas what I could try to debug/fix this issue?
e
possibly due to macos filesystems being case-insensitive by default?
d
Copy code
manager on  master [!+]
➜ cat Test.kt
File: Test.kt
class ThisClassIsNotTest

manager on  master [!+]
➜ ktlint Test.kt
My file name is
Test
and class inside has different name. Ktlint does not report violations in this case.
r
if so, it’s been fixed on master, you could try the latest snapshot and see
d
aha, he just created .editorconfig
This is it, thanks!