shfmt-configuration
Installation
SKILL.md
shfmt Configuration
Master shfmt configuration for consistent shell script formatting across projects, including configuration files, EditorConfig integration, and team standardization.
Overview
shfmt is a shell parser, formatter, and interpreter that supports POSIX Shell, Bash, and mksh. Configuration allows you to define consistent formatting rules for your shell scripts.
Configuration Methods
shfmt supports multiple configuration approaches, in order of precedence:
- Command-line flags (highest precedence)
- EditorConfig settings
.shfmt.tomlorshfmt.tomlfile