File tree Expand file tree Collapse file tree 3 files changed +33
-14
lines changed Expand file tree Collapse file tree 3 files changed +33
-14
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 1
1
# 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.
3
2
# http://editorconfig.org/
4
3
5
4
root = true
6
5
7
6
[* ]
8
7
charset = utf-8
9
- indent_style = tab
10
- indent_size = 4
11
- trim_trailing_whitespace = true
12
8
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} ]
22
9
indent_size = 2
23
10
indent_style = space
11
+ insert_final_newline = true
12
+ trim_trailing_whitespace = true
24
13
25
14
# BASH Files
26
15
[* .{.sh} ]
27
- indent_style = tab
28
16
indent_size = 4
17
+ indent_style = tab
Original file line number Diff line number Diff line change
1
+ {
2
+ "plugins" : [" prettier-plugin-sh" ]
3
+ }
You can’t perform that action at this time.
0 commit comments