mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
.vscode: enable shellcheck auto-fix on save
This commit is contained in:
parent
0331cbeda3
commit
fcbf626e4c
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@ -17,5 +17,11 @@
|
|||||||
"shellscript"
|
"shellscript"
|
||||||
],
|
],
|
||||||
"shellformat.path": "${workspaceFolder}/Library/Homebrew/utils/shfmt.sh",
|
"shellformat.path": "${workspaceFolder}/Library/Homebrew/utils/shfmt.sh",
|
||||||
"shellformat.flag": "-i 2 -ci -ln bash"
|
"shellformat.flag": "-i 2 -ci -ln bash",
|
||||||
|
"[shellscript]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.shellcheck": true,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user