Skip to content

Commit bc57ea1

Browse files
committed
Add .shellcheckrc
1 parent 319aa81 commit bc57ea1

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.shellcheckrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Add the script directory to the search path for source statements
2+
source-path=SCRIPTDIR
3+
4+
# Enable all optional checks
5+
enable=all
6+
7+
# Disable the require-variable-braces check
8+
disable=SC2250

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
// Important to disable for EditorConfig to apply correctly
33
// See: https://github.com/editorconfig/editorconfig-vscode/issues/153
4-
"files.trimTrailingWhitespace": false
4+
"files.trimTrailingWhitespace": false,
5+
6+
// File paths to language mappings
7+
"files.associations": {
8+
".shellcheckrc": "properties"
9+
}
510
}

0 commit comments

Comments
 (0)