Skip to content

Commit 28b4488

Browse files
committed
build: 👷 migrate to biomejs from prettier
1 parent ffcb54e commit 28b4488

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

Diff for: ‎.prettierrc

-11
This file was deleted.

Diff for: ‎biome.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
4+
"files": { "ignoreUnknown": false, "ignore": [] },
5+
"formatter": {
6+
"enabled": true,
7+
"useEditorconfig": true,
8+
"formatWithErrors": false,
9+
"indentStyle": "space",
10+
"indentWidth": 2,
11+
"lineEnding": "lf",
12+
"lineWidth": 120,
13+
"attributePosition": "auto",
14+
"bracketSpacing": true
15+
},
16+
"organizeImports": { "enabled": true },
17+
"linter": { "enabled": true, "rules": { "recommended": true } },
18+
"javascript": {
19+
"formatter": {
20+
"jsxQuoteStyle": "double",
21+
"quoteProperties": "asNeeded",
22+
"trailingCommas": "es5",
23+
"semicolons": "always",
24+
"arrowParentheses": "always",
25+
"bracketSameLine": false,
26+
"quoteStyle": "single",
27+
"attributePosition": "auto",
28+
"bracketSpacing": true
29+
}
30+
}
31+
}

Diff for: ‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"author": "",
1515
"license": "MIT",
1616
"devDependencies": {
17+
"@biomejs/biome": "1.9.4",
1718
"@rollup/plugin-commonjs": "^18.0.0",
1819
"@rollup/plugin-node-resolve": "^11.2.1",
1920
"@rollup/plugin-typescript": "^8.2.1",

0 commit comments

Comments
 (0)