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
ephemient
12/17/2020, 2:08 PM
possibly due to macos filesystems being case-insensitive by default?
d
Dmitry
12/17/2020, 2:10 PM
Copy code
manager on master [!+]
➜ cat Test.kt
File: Test.kt
class ThisClassIsNotTest
manager on master [!+]
➜ ktlint Test.kt
Dmitry
12/17/2020, 2:11 PM
My file name is
Test
and class inside has different name. Ktlint does not report violations in this case.