mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
.vscode: add extension shellcheck and shell-format
This commit is contained in:
parent
3f96d963f7
commit
570fac7f47
4
.vscode/extensions.json
vendored
4
.vscode/extensions.json
vendored
@ -3,6 +3,8 @@
|
|||||||
"kaiwood.endwise",
|
"kaiwood.endwise",
|
||||||
"misogi.ruby-rubocop",
|
"misogi.ruby-rubocop",
|
||||||
"rebornix.ruby",
|
"rebornix.ruby",
|
||||||
"wingrunr21.vscode-ruby"
|
"wingrunr21.vscode-ruby",
|
||||||
|
"timonwong.shellcheck",
|
||||||
|
"foxundermoon.shell-format"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
19
.vscode/settings.json
vendored
19
.vscode/settings.json
vendored
@ -1,6 +1,17 @@
|
|||||||
{
|
{
|
||||||
"ruby.rubocop.executePath": "Library/Homebrew/shims/gems/",
|
"editor.insertSpaces": true,
|
||||||
"files.trimTrailingWhitespace": true,
|
"editor.tabSize": 2,
|
||||||
"editor.tabSize": 2,
|
"files.encoding": "utf8",
|
||||||
"files.insertFinalNewline": true
|
"files.eol": "\n",
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"files.insertFinalNewline": true,
|
||||||
|
"files.trimFinalNewlines": true,
|
||||||
|
"ruby.rubocop.executePath": "Library/Homebrew/shims/gems/",
|
||||||
|
"shellcheck.customArgs": [
|
||||||
|
"--shell=bash",
|
||||||
|
"--enable=all",
|
||||||
|
"--external-sources",
|
||||||
|
"--source-path=${workspaceFolder}/Library"
|
||||||
|
],
|
||||||
|
"shellformat.flag": "-i 2 -ci"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user