Skip to content

Commit 2f8b3c6

Browse files
committed
chore: synced local './' with remote 'bash/'
1 parent 7459faf commit 2f8b3c6

File tree

3 files changed

+33
-14
lines changed

3 files changed

+33
-14
lines changed

.devcontainer/devcontainer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "BASH Dev Container",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers-community/npm-features/prettier:1": {},
6+
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
7+
"ghcr.io/devcontainers-extra/features/checkov:1": {},
8+
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
9+
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
10+
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
11+
"ghcr.io/devcontainers/features/github-cli:1": {}
12+
},
13+
"customizations": {
14+
"vscode": {
15+
"extensions": [
16+
"DavidAnson.vscode-markdownlint",
17+
"editorconfig.editorconfig",
18+
"esbenp.prettier-vscode",
19+
"github.vscode-github-actions",
20+
"GitHub.vscode-pull-request-github",
21+
"redhat.vscode-yaml",
22+
"yzhang.markdown-all-in-one"
23+
]
24+
}
25+
},
26+
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
27+
}

.editorconfig

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
11
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.
2-
# Atom: Please assure your Atom's config setting Tab Type is set to auto, otherwise Atom-EditorConfig may not work as expected. Also disable whitespace package.
32
# http://editorconfig.org/
43

54
root = true
65

76
[*]
87
charset = utf-8
9-
indent_style = tab
10-
indent_size = 4
11-
trim_trailing_whitespace = true
128
end_of_line = lf
13-
insert_final_newline = true
14-
15-
# YAML Files
16-
[*.{yml,yaml}]
17-
indent_size = 2
18-
indent_style = space
19-
20-
# JSON Files
21-
[*.{json,json5,webmanifest}]
229
indent_size = 2
2310
indent_style = space
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
2413

2514
# BASH Files
2615
[*.{.sh}]
27-
indent_style = tab
2816
indent_size = 4
17+
indent_style = tab

.prettierrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["prettier-plugin-sh"]
3+
}

0 commit comments

Comments
 (0)