I get the idea behind `Expected newline after last...
# ktlint
d
I get the idea behind
Expected newline after last annotation (standard:annotation)
but there's this common pattern in Spring-based tests:
Copy code
class MyTest @Autowired constructor(
    private val dep1: Dep1,
    private val dep2: Dep2,
)
Is there any way how to relax the rule so that this pattern is allowed? (Obviously apart from suppressing the rule for each particular test case)
p
You can suppress the rule for the test package only.
d
Not ideal but probably good enough 😀