Skip to content

Commit a71b58f

Browse files
committed
JavaScript (v3): Add JSON to Biome formatter and ignore cdk files.
1 parent 85fe7ae commit a71b58f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

javascriptv3/biome.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"./example_code/kinesis/kinesis-cdk",
1414
"./example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js",
1515
"./example_code/cross-services/textract-react",
16-
"**/dist"
16+
"**/dist",
17+
"**/cdk.out",
18+
"cdk.json"
1719
]
1820
},
1921
"formatter": {

javascriptv3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"prepare": "cd .. && husky javascriptv3/.husky"
1212
},
1313
"lint-staged": {
14-
"*.{js,ts,jsx,tsx}": ["biome format --write", "biome lint"]
14+
"*.{js,ts,jsx,tsx,json}": ["biome format --write", "biome lint"]
1515
},
1616
"workspaces": [
1717
"example_code/auto-scaling",

0 commit comments

Comments
 (0)