Skip to content

shfmt rules in Sudsy

Shellversion 3.14.1 (GitHub release latest; the version `scripts/parity.sh format shfmt` downloads)86% of Shell files identical1 covered1 partial0 planned4 deferred

Every rule and setting of shfmt in the parity catalog, with the Sudsy equivalent. The format share is the part of real-world files that Sudsy formats to the same text as shfmt. Where the tool has a page for an entry, the id links to it.

Status: covered; partial (the note says what differs); not yet (planned); deferred; not planned; SDK (a .NET SDK diagnostic does it).

Id Sudsy Status Note
indent option shell.format.indent_style covered
binary-next-line - deferred No option that moves binary operators to the next line.
switch-case-indent - deferred No option to indent the patterns of a case.
space-redirects - deferred No option to put a blank after redirect operators.
keep-padding - not planned deprecated upstream
func-next-line - deferred No option to put the { of a function on its own line.
simplify - not planned rewrites code
minify - not planned not a formatter
language-dialect formatter partial No dialect selection.