Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
[formatter.nix]
command = "alejandra"
includes = ["*.nix"]
[formatter.shell]
command = "sh"
options = [
"-eucx",
"""
# First shellcheck
shellcheck --external-sources --source-path=SCRIPTDIR "$@"
# Then format
shfmt -i 2 -s -w "$@"
""",
"--", # bash swallows the second argument when using -c
]
includes = ["*.sh"]
1920b9e9eThis file is pinned to the selected release. Download the original to open it in your design tool.