.vscode: add extension shellcheck and shell-format

This commit is contained in:
XuehaiPan 2021-09-14 15:23:21 +08:00
parent 3f96d963f7
commit 570fac7f47
2 changed files with 18 additions and 5 deletions

View File

@ -3,6 +3,8 @@
"kaiwood.endwise",
"misogi.ruby-rubocop",
"rebornix.ruby",
"wingrunr21.vscode-ruby"
"wingrunr21.vscode-ruby",
"timonwong.shellcheck",
"foxundermoon.shell-format"
]
}

19
.vscode/settings.json vendored
View File

@ -1,6 +1,17 @@
{
"ruby.rubocop.executePath": "Library/Homebrew/shims/gems/",
"files.trimTrailingWhitespace": true,
"editor.tabSize": 2,
"files.insertFinalNewline": true
"editor.insertSpaces": true,
"editor.tabSize": 2,
"files.encoding": "utf8",
"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"
}