Skip to content

Commit 6358e22

Browse files
committed
Enable Biome Import Organizer
1 parent ba50620 commit 6358e22

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

biome.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,49 @@
1111
"!**/.pnp.loader.mjs"
1212
]
1313
},
14+
"assist": {
15+
"actions": {
16+
"source": {
17+
"organizeImports": {
18+
"level": "on",
19+
"options": {
20+
"groups": [
21+
{ "type": false, "source": ":NODE:" },
22+
{ "type": false, "source": ["vitest", "vitest/**", "@vitest/**", "vitest-*"] },
23+
{ "type": false, "source": "@testing-library/**" },
24+
{ "type": false, "source": ["react", "react-dom", "react-dom/**", "react-native"] },
25+
{ "type": false, "source": [":PACKAGE:"] },
26+
":BLANK_LINE:",
27+
{
28+
"type": false,
29+
"source": [
30+
":PATH:",
31+
"!**/hooks/*",
32+
"!**/use*.js",
33+
"!**/shared/*",
34+
"!**/utils/*",
35+
"!**/__mocks__/*",
36+
"!**/test-utils.js"
37+
]
38+
},
39+
":BLANK_LINE:",
40+
{ "type": false, "source": ["**/hooks/*", "**/use*.js"] },
41+
":BLANK_LINE:",
42+
{ "type": false, "source": ["**/shared/*", "**/utils/*"] },
43+
":BLANK_LINE:",
44+
{ "type": false, "source": "**/__mocks__/*" },
45+
":BLANK_LINE:",
46+
{ "type": false, "source": "**/test-utils.js" },
47+
":BLANK_LINE:",
48+
":NODE:",
49+
":PACKAGE:",
50+
":PATH:"
51+
]
52+
}
53+
}
54+
}
55+
}
56+
},
1457
"formatter": {
1558
"lineWidth": 100,
1659
"indentStyle": "space"

0 commit comments

Comments
 (0)