Skip to content

Commit

Permalink
Fix detekt docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmans0n committed Dec 15, 2023
1 parent 450ffcc commit 93207e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/detekt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93207e0

Please sign in to comment.