Skip to content

Commit def6566

Browse files
committed
chore(scripts): re-add biome to the project
1 parent e695d13 commit def6566

File tree

4 files changed

+107
-2
lines changed

4 files changed

+107
-2
lines changed

biome.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@
66
"indentStyle": "space",
77
"indentWidth": 2,
88
"lineEnding": "lf",
9-
"lineWidth": 80,
9+
"lineWidth": 120,
1010
"attributePosition": "auto",
11-
"ignore": ["**/CHANGELOG.md", "**/DEPENDENCIES.md"]
11+
"ignore": [
12+
"**/CHANGELOG.md",
13+
"**/DEPENDENCIES.md",
14+
"dist",
15+
"fixtures",
16+
"site/.astro",
17+
"npm/packages"
18+
]
1219
},
1320
"organizeImports": {
1421
"enabled": true
@@ -28,5 +35,10 @@
2835
"quoteStyle": "single",
2936
"attributePosition": "auto"
3037
}
38+
},
39+
"json": {
40+
"formatter": {
41+
"enabled": false
42+
}
3143
}
3244
}

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ install-system-dependencies:
2626
format:
2727
cargo +nightly fmt --all -- --verbose
2828
cargo clippy --fix --allow-dirty
29+
npm exec biome -- format --write .
2930

3031
# Update dependencies in Cargo.toml and Cargo.lock
3132
update-dependencies:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"typescript": "^5.8.3"
4040
},
4141
"devDependencies": {
42+
"@biomejs/biome": "^1.9.4",
4243
"@release-it/conventional-changelog": "^10.0.1",
4344
"auto-changelog": "^2.5.0",
4445
"release-it": "^19.0.2",

pnpm-lock.yaml

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)