Does anyone tries to change the indentation to 2. ...
# detekt
s
Does anyone tries to change the indentation to 2. I have tried in config file but looks like detekt is not considering anything from “Formatting Block”
Copy code
formatting:
  active: true
  android: false
  autoCorrect: true
  ImportOrdering:
    active: false
    autoCorrect: true
  Indentation:
    active: true
    autoCorrect: true
    indentSize: 2
    continuationIndentSize: 2
a
What exactly do you mean by "Formatting blocks"? The indentation rule is based on KtLint's one. Please veify this behavior with KtLint and report to their issue tracker https://github.com/pinterest/ktlint/issues