diff --git a/docs/detekt.md b/docs/detekt.md index fb78f30c..124c1f33 100644 --- a/docs/detekt.md +++ b/docs/detekt.md @@ -95,12 +95,12 @@ Compose: active: true # -- You can optionally use this rule on things other than types ending in "ViewModel" or "Presenter" (which are the defaults). You can add your own via a regex here: # allowedStateHolderNames: .*ViewModel,.*Presenter + # -- You can optionally add an allowlist for Composable names that won't be affected by this rule + # allowedForwarding: .*Content,.*FancyStuff ViewModelInjection: active: true # -- You can optionally add your own ViewModel factories here # viewModelFactories: hiltViewModel,potatoViewModel - # -- You can optionally add an allowlist for Composable names that won't be affected by this rule - # allowedForwarding: .*Content,.*FancyStuff ``` ### Disabling a specific rule