https://kotlinlang.org logo
#detekt
Title
# detekt
c

ch13mob

03/25/2023, 8:43 PM
Hi, can someone recommend the detekt.yml config for Android Jetpack Compose app without using any 3d parties libraries and that follows the official detekt documentation? https://detekt.dev/docs/introduction/compose/
g

gammax

03/25/2023, 8:52 PM
The page should be self sufficient. Are you looking into something in particular?
c

ch13mob

03/25/2023, 8:54 PM
I would like to get an example of pure detekt.yml config, maybe some link to a good repository or source
b

Brais Gabin

03/25/2023, 9:51 PM
Those are complementary. I mean, you should configure some rules to work well with compose. But to get a proper static analysis for detekt you should use a third party rule set. In our marketplace you should find some.
c

chao

03/25/2023, 10:46 PM
You may want to check out https://github.com/mrmans0n/compose-rules as well
c

ch13mob

03/26/2023, 9:22 AM
Thank you, I’ll take a look
112 Views