Skip to content

Commit 58f684e

Browse files
author
Thomas G.
committed
feat: ✨ normalize json before commit
1 parent ae04f22 commit 58f684e

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

src/common-utils/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Common Utils",
3-
"version": "3.3.8",
3+
"version": "3.3.9",
44
"description": "Common utils for tomgrv/devcontainer-features",
55
"dependsOn": {
66
"ghcr.io/devcontainers/features/common-utils": {}

src/githooks/_lint-staged.package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
"lint": "npx --yes lint-staged"
44
},
55
"lint-staged": {
6-
"*.php": [
7-
"composer lint"
8-
],
6+
"*.php": ["composer lint"],
97
"*.{js,jsx,ts,tsx,md,html,css,json,vue, yaml, yml, sh}": [
108
"npx --yes prettier --write"
119
],
12-
"package.json": [
13-
"npx --yes sort-package-json"
14-
]
10+
"*.json": ["normalize-json -s -a -i -t 4"]
1511
}
1612
}

src/githooks/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "githooks",
33
"name": "Git Hooks",
44
"description": "A feature to add useful Git hooks to your project",
5-
"version": "5.4.0",
5+
"version": "5.5.0",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/node": {},
88
"ghcr.io/tomgrv/devcontainer-features/common-utils:3": {},

0 commit comments

Comments
 (0)