In my project I have the following code:
val LocalColors = staticCompositionLocalOf { Colors() }
when I add an exemption to my lint.xml like so:
<issue id="ComposeCompositionLocalUsage">
<option name="allowed-composition-locals" value="LocalColors" />
</issue>
The linter will still complain:
Error: CompositionLocals are implicit dependencies and creating new ones should be avoided