Keep .vscode consistent with repo .editorconfig

This commit is contained in:
justin 2026-01-28 13:56:38 -05:00
parent 91c56e173d
commit 80b30ba74a
No known key found for this signature in database
GPG Key ID: A95EFF373628851B
4 changed files with 12 additions and 35 deletions

View File

@ -10,7 +10,7 @@ indent_style = space
insert_final_newline = true insert_final_newline = true
max_line_length = 120 max_line_length = 120
tab_width = 2 tab_width = 2
; trim_trailing_whitespace = true ; disabled until files are cleaned up trim_trailing_whitespace = true
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false

1
.vscode/.shellcheckrc generated vendored
View File

@ -1 +0,0 @@
disable=SC2034,SC1091,SC2155,SC2086,SC2317,SC2181,SC2164

3
.vscode/extensions.json generated vendored
View File

@ -1,8 +1,7 @@
{ {
"recommendations": [ "recommendations": [
"bmalehorn.shell-syntax",
"timonwong.shellcheck", "timonwong.shellcheck",
"foxundermoon.shell-format" "mkhl.shfmt"
], ],
"unwantedRecommendations": [] "unwantedRecommendations": []
} }

41
.vscode/settings.json generated vendored
View File

@ -1,33 +1,12 @@
{ {
"files.associations": { "files.associations": {
"*.func": "shellscript" "*.func": "shellscript"
}, },
"files.eol": "\n", "[shellscript]": {
"files.encoding": "utf8", "editor.defaultFormatter": "mkhl.shfmt",
"files.trimTrailingWhitespace": true, },
"files.insertFinalNewline": true, "editor.codeActionsOnSave": {
"files.autoSave": "afterDelay", "source.fixAll": "never",
"files.autoGuessEncoding": false, },
"editor.detectIndentation": false, "shellcheck.useWorkspaceRootAsCwd": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.wordWrap": "off",
"editor.renderWhitespace": "boundary",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.minimap.enabled": false,
"terminal.integrated.scrollback": 10000,
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format",
"editor.tabSize": 4,
"editor.insertSpaces": true,
},
"shellcheck.customArgs": [
"--rcfile",
".vscode/.shellcheckrc"
],
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"extensions.ignoreRecommendations": false
} }