Skip to content

Commit a116f48

Browse files
committed
Ignore JSON for Biome formatting
It clashes with how changesets formats package.json files, making CI fail after release commits.
1 parent f52592e commit a116f48

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

biome.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
"lineEnding": "lf",
2424
"lineWidth": 90
2525
},
26+
"json": {
27+
"linter": {
28+
"enabled": false
29+
},
30+
"formatter": {
31+
"enabled": false
32+
}
33+
},
2634
"javascript": {
2735
"formatter": {
2836
"trailingCommas": "es5",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "npm test -w ./packages",
1616
"version": "changeset version",
1717
"release": "gh workflow run release",
18-
"release:local": "npm run build && changeset publish && npm run format"
18+
"release:local": "npm run build && changeset publish"
1919
},
2020
"devDependencies": {
2121
"@biomejs/biome": "1.9.2",

0 commit comments

Comments
 (0)