Skip to content

Commit 816a032

Browse files
chore: update lang-bash and spelling
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
1 parent 703de14 commit 816a032

File tree

3 files changed

+30
-11
lines changed

3 files changed

+30
-11
lines changed

cspell.config.yaml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,27 @@ version: '0.2'
33

44
ignorePaths: []
55
dictionaryDefinitions: []
6-
dictionaries: []
76
import: []
87

8+
dictionaries:
9+
- en_US
10+
- bash
11+
912
words:
10-
- debuggee
13+
- debuggee # the program being debugged
14+
15+
ignoreWords:
16+
# names
17+
- georglauterbach
18+
- Georg
19+
- Lauterbach
20+
21+
# proper nouns
1122
- LLDB
12-
- Rustup
23+
- rustup
24+
- shellcheck
1325
- trixie
1426

15-
ignoreWords:
27+
# multiple words written as one
1628
- devcontainers
17-
- georglauterbach
29+
- libbash

src/lang-bash/devcontainer-feature.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// ref: https://github.com/devcontainers/spec/blob/main/schemas/devContainerFeature.schema.json
2+
// cSpell: ignore timonwong
23
{
34
"id": "lang-bash",
4-
"version": "0.1.0",
5+
"version": "0.1.1",
56
"name": "Programming Language | Bash",
67
"documentationURL": "https://github.com/georglauterbach/dev-container-features/tree/main/src/lang-bash",
78
"description": "Work efficiently and effortlessly with Bash",
@@ -12,12 +13,18 @@
1213
"timonwong.shellcheck"
1314
],
1415
"settings": {
16+
// disable the ShellCheck integration of 'mads-hartmann.bash-ide-vscode'
17+
// to not clash with 'timonwong.shellcheck'
18+
"bashIde.shellcheckPath": "",
19+
// use file-relative path resolution for 'source' statements
1520
"shellcheck.useWorkspaceRootAsCwd": false,
21+
// disable needlessly aggressive lints
1622
"shellcheck.exclude": [
17-
"2310",
18-
"2312"
23+
"2310" // functions invoked in `if` with `set -e`
1924
],
25+
// run ShellCheck when the editor is saved
2026
"shellcheck.run": "onSave",
27+
// supply custom arguments to make the most use of ShellCheck
2128
"shellcheck.customArgs": [
2229
"--shell=bash",
2330
"--severity=style",

src/lang-rust/devcontainer-feature.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@
4545
"vadimcn.vscode-lldb@1.11.8"
4646
],
4747
"settings": {
48-
// Mark the directory for build-artifacts as read-only
48+
// mark the directory for build-artifacts as read-only
4949
// and apply the same in the subdirectory `code/`
5050
"files.readonlyInclude": {
5151
"target": true,
5252
"code/target": true
5353
},
54-
// Exclude the directory for build-artifacts from the
54+
// exclude the directory for build-artifacts from the
5555
// VS explorer watcher and apply the same in the
5656
// subdirectory `code/`
5757
"files.watcherExclude": {
5858
"target": true,
5959
"code/target": true
6060
},
61-
// Tell LLDB that we debug Rust
61+
// tell LLDB that we debug Rust
6262
"lldb.launch.sourceLanguages": [
6363
"rust"
6464
]

0 commit comments

Comments
 (0)