Comment 1 for bug 1698091

Revision history for this message
mcandre (andrew-pennebaker) wrote :

Alternatively, shfmt recommends maintaining the same indentation level for each pattern as the opening "case" keyword. Yes, this is a somewhat subjective choice, but as there is now a semistandard tool for styling shell script code, we might as well follow it:

https://github.com/mvdan/sh

So bashate could offer an optional setting for a case indentation preference, but should default to shfmt style so that these two powerful tools do not clash.