From bb8ac8c55b36a58c41ba5b1025e91004e79317f6 Mon Sep 17 00:00:00 2001 From: ryu38 Date: Wed, 25 Jan 2023 13:33:36 +0900 Subject: [PATCH] fix the compositionLocal allowlist url --- docs/rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules.md b/docs/rules.md index 460084f9..bd1b1f8e 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -211,7 +211,7 @@ Related rule: [twitter-compose:vm-injection-check](https://github.com/twitter/co Although uncommon, there are [legit usecases](https://developer.android.com/jetpack/compose/compositionlocal#deciding) for them, so this rule provides an allowlist so that you can add your `CompositionLocal` names to it so that they are not flagged by the rule. -Related rule: [twitter-compose:compositionlocal-allowlist](https://github.com/twitter/compose-rules/blob/main/rules/common/src/main/kotlin/com/twitter/compose/rules/CompositionLocalAllowlist.kt) +Related rule: [twitter-compose:compositionlocal-allowlist](https://github.com/twitter/compose-rules/blob/main/rules/common/src/main/kotlin/com/twitter/compose/rules/ComposeCompositionLocalAllowlist.kt) > **Note**: To add your custom `CompositionLocal` to your allowlist, you can add `allowedCompositionLocals` to this rule config in Detekt, or `allowed_composition_locals` to your .editorconfig in ktlint.