Skip to content

Commit cafe4fe

Browse files
committed
update biome
1 parent 5f50395 commit cafe4fe

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

biome.jsonc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@
1919
"recommended": true,
2020
"nursery": {
2121
"useSortedClasses": "error"
22+
},
23+
"style": {
24+
"noRestrictedImports": {
25+
"options": {
26+
"patterns": [
27+
{
28+
"group": ["./*", "../*"],
29+
"message": "Relative imports are forbidden. Use path aliases instead (@api/*, @main/*, @renderer/*, @shared/*)."
30+
}
31+
]
32+
}
33+
}
2234
}
2335
},
2436
"domains": {

0 commit comments

Comments
 (0)