generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add detekt compose ruleset, suppress compose function naming
Signed-off-by: Luca Bretting <[email protected]>
- Loading branch information
1 parent
859f4ff
commit d5a267d
Showing
4 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# SPDX-FileCopyrightText: 2024 Luca Bretting <[email protected]> | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
naming: | ||
FunctionNaming: | ||
active: true | ||
ignoreAnnotated: | ||
- Composable | ||
|
||
TwitterCompose: | ||
CompositionLocalAllowlist: | ||
active: true | ||
# You can optionally define a list of CompositionLocals that are allowed here | ||
# allowedCompositionLocals: LocalSomething,LocalSomethingElse | ||
CompositionLocalNaming: | ||
active: true | ||
ContentEmitterReturningValues: | ||
active: true | ||
# You can optionally add your own composables here | ||
# contentEmitters: MyComposable,MyOtherComposable | ||
ModifierComposable: | ||
active: true | ||
ModifierMissing: | ||
active: true | ||
ModifierReused: | ||
active: true | ||
ModifierWithoutDefault: | ||
active: true | ||
MultipleEmitters: | ||
active: true | ||
# You can optionally add your own composables here | ||
# contentEmitters: MyComposable,MyOtherComposable | ||
MutableParams: | ||
active: true | ||
ComposableNaming: | ||
active: true | ||
# You can optionally disable the checks in this rule for regex matches against the composable name (e.g. molecule presenters) | ||
# allowedComposableFunctionNames: .*Presenter,.*MoleculePresenter | ||
ComposableParamOrder: | ||
active: true | ||
PreviewNaming: | ||
active: true | ||
PreviewPublic: | ||
active: true | ||
# You can optionally disable that only previews with @PreviewParameter are flagged | ||
# previewPublicOnlyIfParams: false | ||
RememberMissing: | ||
active: true | ||
UnstableCollections: | ||
active: true | ||
ViewModelForwarding: | ||
active: true | ||
ViewModelInjection: | ||
active: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters