Use spaces instead of tabs in shfmt

This commit is contained in:
Radon Rosborough 2022-06-04 15:37:45 -07:00
parent b25256f1b0
commit 67853e98b1
3 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog]. The format is based on [Keep a Changelog].
## Unreleased
### Enhancements
* shfmt uses 4 spaces instead of tabs by default.
## 3.0 (released 2022-06-01) ## 3.0 (released 2022-06-01)
### Breaking changes ### Breaking changes
* The arguments of formatters defined as Elisp functions has changed. * The arguments of formatters defined as Elisp functions has changed.

View file

@ -935,7 +935,7 @@ being run, for diagnostic purposes."
"--enable-outside-detected-project")) "--enable-outside-detected-project"))
(phpcs . ("apheleia-phpcs")) (phpcs . ("apheleia-phpcs"))
(prettier . (npx "prettier" "--stdin-filepath" filepath)) (prettier . (npx "prettier" "--stdin-filepath" filepath))
(shfmt . ("shfmt")) (shfmt . ("shfmt" "-i" "4"))
(rustfmt . ("rustfmt" "--quiet" "--emit" "stdout")) (rustfmt . ("rustfmt" "--quiet" "--emit" "stdout"))
(terraform . ("terraform" "fmt" "-"))) (terraform . ("terraform" "fmt" "-")))
"Alist of code formatting commands. "Alist of code formatting commands.