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

alexfu

03/13/2021, 1:35 PM
Hi, new to detekt here. i’m setting it up in my android project and came across this in the default config:
Copy code
formatting:
  active: true
  android: false
what does the
android: false
setting mean? i couldn’t find any documentation on it.
g

gammax

03/13/2021, 2:13 PM
The
formatting
ruleset is a wrapper around KtLint. If you set
android: true
that value will be passed to KtLint.
a

alexfu

03/23/2021, 1:25 PM
ohhh ok. i just saw your response 10 days later 😂. thanks!
g

gammax

03/23/2021, 1:25 PM
ahahah nice
2 Views