Adds a rule to disallow the introduction of new CompositionLocals, and adds a allowedCompositionLocals (Detekt) and allowed_composition_locals (ktlint) config entries to be able to provide an allowed list of them (e.g. if they are necessary for some infra or other valid cases like that, don't go abusing this 😅 ).
Adds a rule to disallow the introduction of new
CompositionLocal
s, and adds aallowedCompositionLocals
(Detekt) andallowed_composition_locals
(ktlint) config entries to be able to provide an allowed list of them (e.g. if they are necessary for some infra or other valid cases like that, don't go abusing this 😅 ).