phldavies
07/09/2024, 9:31 PM1.3.0
the class-signature
rule (intellij style) is changing all our
class MySpec : FreeSpec({
"test something" {
1 shouldBeGreaterThan 0
}
})
to the horribly over-indented
class MySpec :
FreeSpec({
"test something" {
1 shouldBeGreaterThan 0
}
})
obviously this is an edgecase on the intended use of the rule, but it's fairly common with kotest. For now, I'm thinking the best solution is to disable the rule only for src/test/kotlin/**/*.kt
David Meyer
07/09/2024, 10:39 PM1.3.0
, it might be worth opening an issue. But in the short term, I think what you suggested about disabling the rule for test source sets makes sense as a work-around.