Skip to content

Commit 42d38a5

Browse files
committed
Applies code formatting for consistency
Applies Prettier formatting to the codebase for improved readability and consistency. Addresses minor code style inconsistencies across several files.
1 parent ea4468d commit 42d38a5

4 files changed

Lines changed: 64 additions & 64 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
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-
"plugins": "prettier-plugin-sh"
7-
},
8-
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
9-
"ghcr.io/devcontainers-extra/features/checkov:1": {},
10-
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
11-
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
12-
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
13-
"ghcr.io/devcontainers/features/github-cli:1": {}
14-
},
15-
"customizations": {
16-
"vscode": {
17-
"extensions": [
18-
"DavidAnson.vscode-markdownlint",
19-
"editorconfig.editorconfig",
20-
"esbenp.prettier-vscode",
21-
"github.vscode-github-actions",
22-
"GitHub.vscode-pull-request-github",
23-
"redhat.vscode-yaml",
24-
"timonwong.shellcheck",
25-
"yzhang.markdown-all-in-one"
26-
]
27-
}
28-
},
29-
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
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+
"plugins": "prettier-plugin-sh"
7+
},
8+
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
9+
"ghcr.io/devcontainers-extra/features/checkov:1": {},
10+
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
11+
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
12+
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
13+
"ghcr.io/devcontainers/features/github-cli:1": {}
14+
},
15+
"customizations": {
16+
"vscode": {
17+
"extensions": [
18+
"DavidAnson.vscode-markdownlint",
19+
"editorconfig.editorconfig",
20+
"esbenp.prettier-vscode",
21+
"github.vscode-github-actions",
22+
"GitHub.vscode-pull-request-github",
23+
"redhat.vscode-yaml",
24+
"timonwong.shellcheck",
25+
"yzhang.markdown-all-in-one"
26+
]
27+
}
28+
},
29+
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
3030
}

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"plugins": ["prettier-plugin-sh"]
2+
"plugins": ["prettier-plugin-sh"]
33
}

.vscode/extensions.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"recommendations": [
3-
"DavidAnson.vscode-markdownlint",
4-
"editorconfig.editorconfig",
5-
"esbenp.prettier-vscode",
6-
"github.vscode-github-actions",
7-
"GitHub.vscode-pull-request-github",
8-
"redhat.vscode-yaml",
9-
"timonwong.shellcheck",
10-
"yzhang.markdown-all-in-one"
11-
]
2+
"recommendations": [
3+
"DavidAnson.vscode-markdownlint",
4+
"editorconfig.editorconfig",
5+
"esbenp.prettier-vscode",
6+
"github.vscode-github-actions",
7+
"GitHub.vscode-pull-request-github",
8+
"redhat.vscode-yaml",
9+
"timonwong.shellcheck",
10+
"yzhang.markdown-all-in-one"
11+
]
1212
}

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
2-
"name": "linuxgsm",
3-
"description": "<h1 align=\"center\"> <br> <a href=\"https://linuxgsm.com\"><img src=\"https://i.imgur.com/Eoh1jsi.jpg\" alt=\"LinuxGSM\"></a> </h1>",
4-
"directories": {
5-
"test": "tests"
6-
},
7-
"devDependencies": {
8-
"prettier": "^3.4.2",
9-
"prettier-plugin-sh": "^0.14.0"
10-
},
11-
"scripts": {
12-
"test": "echo \"Error: no test specified\" && exit 1"
13-
},
14-
"repository": {
15-
"type": "git",
16-
"url": "git+https://github.com/GameServerManagers/LinuxGSM.git"
17-
},
18-
"author": "",
19-
"license": "MIT",
20-
"bugs": {
21-
"url": "https://github.com/GameServerManagers/LinuxGSM/issues"
22-
},
23-
"homepage": "https://github.com/GameServerManagers/LinuxGSM#readme",
24-
"dependencies": {
25-
"gamedig": "^5.1.4"
26-
}
2+
"name": "linuxgsm",
3+
"description": "<h1 align=\"center\"> <br> <a href=\"https://linuxgsm.com\"><img src=\"https://i.imgur.com/Eoh1jsi.jpg\" alt=\"LinuxGSM\"></a> </h1>",
4+
"directories": {
5+
"test": "tests"
6+
},
7+
"devDependencies": {
8+
"prettier": "^3.4.2",
9+
"prettier-plugin-sh": "^0.14.0"
10+
},
11+
"scripts": {
12+
"test": "echo \"Error: no test specified\" && exit 1"
13+
},
14+
"repository": {
15+
"type": "git",
16+
"url": "git+https://github.com/GameServerManagers/LinuxGSM.git"
17+
},
18+
"author": "",
19+
"license": "MIT",
20+
"bugs": {
21+
"url": "https://github.com/GameServerManagers/LinuxGSM/issues"
22+
},
23+
"homepage": "https://github.com/GameServerManagers/LinuxGSM#readme",
24+
"dependencies": {
25+
"gamedig": "^5.1.4"
26+
}
2727
}

0 commit comments

Comments
 (0)