shfmt vs Spotless

shfmt

5.1 #30 in Code Formatting Tools

About shfmt

Spotless

5.2 #17 in Code Formatting Tools

About Spotless
shfmtSpotless
Free planNoNo
Free trialNoNo
Paid from——
Open sourceNoNo
PlatformsLinux, Windows, macOS—
Supported languagesPOSIX Shell, Bash, Zsh, mksh, and BatsANTLR, C, C#, C++, CSS, Flow, GraphQL, Groovy, HTML, Java, JavaScript, JSON, JSX, Kotlin, Less, Markdown, Objective-C, Protobuf, Python, Scala, SCSS, Shell, SQL, TypeScript, Vue, YAML, Gherkin, Go, RDF, Anything
Supported platformsLinux, Windows, macOSGradle, Maven, SBT, other build systems
Editor integrationYesYes
Ignore filesYesYes
Library APIYesYes
License modelopen_sourceopen_source
Changed-lines formatting—Yes

Both are listed in Best Code Formatting Tools. On Inferse, Spotless scores higher on our published basis.