Hello, I'm trying to use the detekt plugin on Andr...
# detekt
l
Hello, I'm trying to use the detekt plugin on Android studio but unfortunately I have an error on config.yml. However I use the same file with detekt-cli or the gradle plugin and it works fine. Here's the error, do you know why?
Copy code
Unexpected error while running detekt analysis

io.gitlab.arturbosch.detekt.api.Config$InvalidConfigurationError: Provided configuration file is invalid: Structure must be from type Map<String,Any>!
while constructing a mapping
 in reader, line 1, column 1:
    build:
    ^
found duplicate key formatting
 in reader, line 1056, column 1:
    formatting:
    ^