eygraber
04/12/2024, 4:36 PMMyRules:
Rule1:
active: false # true by default
Rule2:
active: true
and then another config file that I add using setFrom
after the first one:
MyRules:
Rule2:
active: false
I'm seeing violations for Rule1 even though I disabled it. I thought that the configs are merged sequentially, so shouldn't it stay disabled, or am I missing something?ephemient
04/12/2024, 5:13 PMsetFrom()
removes all previous files, did you want from()
which adds?eygraber
04/12/2024, 5:14 PMeygraber
04/12/2024, 9:39 PMfrom
🤔eygraber
04/12/2024, 10:52 PMephemient
04/13/2024, 12:49 AMeygraber
04/14/2024, 3:31 AMephemient
04/14/2024, 3:36 AMeygraber
04/14/2024, 10:44 PMProject.files()
so I'll have to check it out. I'd imagine that detekt would have some form of merging them in a stable order though, and I'd assume that was in insertion order.