I've never setup a detekt config (always used the ...
# detekt
c
I've never setup a detekt config (always used the default). But now I'm using detekt with compose so I want to add at least a rule for FunctionNaming. This is my config
Copy code
detekt {
  allRules = true
  config = files("detekt/config.yml)
  buildUponDefaultConfig = true
}
and my ENTIRE config.yml is
Copy code
naming:
  active: true
  FunctionNaming:
    active: true
    ignoreAnnotated: ['Composable']
Can anyone sanity check that this is the right way to set this up?