Closed
Description
I have something like:
spotless {
format 'xml', {
target 'src/**/*.xml'
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
}
And an XML file. indentWithSpaces
works in the sense that it checks for spaces - i.e. if I have tabs in an XML file, it will catch that. However, it doesn't catch if I indent with a wrong amount of spaces - e.g. 2 - even if I put an explicit count (indentWithSpaces(4)
). I am missing something or is this a known limitation? Or perhaps a bug?
P.S. I guess this is related to #58. I guess this won't be "fixed"?