Skip to content

Commit 711283e

Browse files
committed
upgrade
1 parent 563caf3 commit 711283e

File tree

12 files changed

+985
-229
lines changed

12 files changed

+985
-229
lines changed

biome.json

Lines changed: 32 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,67 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
63
"vcs": {
74
"enabled": false,
85
"clientKind": "git",
96
"useIgnoreFile": false
107
},
118
"files": {
12-
"ignoreUnknown": false,
13-
"ignore": [
14-
"public",
15-
"bootstrap",
16-
"resources/js/routes",
17-
"resources/js/actions",
18-
"resources/js/wayfinder",
19-
"resources/js/ziggy.js",
20-
"vendor",
21-
"node_modules"
22-
]
9+
"includes": ["resources/**/*.tsx"],
10+
"ignoreUnknown": false
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"indentWidth": 2,
16+
"lineWidth": 100
2317
},
2418
"linter": {
2519
"enabled": true,
2620
"rules": {
2721
"recommended": true,
22+
"performance": {
23+
"noImgElement": "off"
24+
},
2825
"style": {
2926
"noNonNullAssertion": "off",
3027
"noParameterAssign": "warn",
31-
"useImportType": "error"
28+
"useImportType": "warn"
3229
},
3330
"complexity": {
34-
"useArrowFunction": "error"
31+
"useArrowFunction": "error",
32+
"noForEach": "off"
3533
},
3634
"a11y": {
35+
"noRedundantRoles": "off",
3736
"noSvgWithoutTitle": "off",
3837
"useValidAnchor": "off",
3938
"useSemanticElements": "off"
4039
},
4140
"correctness": {
42-
"useHookAtTopLevel": "error",
43-
"noUnusedImports": "error",
41+
"noUnusedImports": { "level": "error", "fix": "safe" },
4442
"useExhaustiveDependencies": "off",
43+
"useHookAtTopLevel": "error",
4544
"noChildrenProp": "off"
4645
},
4746
"suspicious": {
47+
"noDocumentCookie": "off",
4848
"noExplicitAny": "off",
49-
"noArrayIndexKey": "off",
50-
"noConsoleLog": "warn"
49+
"noArrayIndexKey": "off"
50+
},
51+
"security": {
52+
"noDangerouslySetInnerHtml": "off"
5153
},
5254
"nursery": {
5355
"useSortedClasses": {
5456
"level": "error",
5557
"fix": "safe",
5658
"options": {
57-
"attributes": [
58-
"classList"
59-
],
60-
"functions": [
61-
"cn",
62-
"twJoin",
63-
"tv",
64-
"composeRenderProps",
65-
"composeTailwindRenderProps"
66-
]
59+
"attributes": ["classList"],
60+
"functions": ["twMerge", "twJoin", "tv", "composeRenderProps", "composeTailwindRenderProps"]
6761
}
6862
}
6963
}
70-
},
71-
"ignore": []
72-
},
73-
"formatter": {
74-
"enabled": true,
75-
"indentStyle": "space",
76-
"indentWidth": 2,
77-
"lineWidth": 100,
78-
"ignore": []
64+
}
7965
},
8066
"javascript": {
8167
"formatter": {
@@ -89,9 +75,12 @@
8975
"trailingCommas": "all"
9076
}
9177
},
92-
"json": {
93-
"formatter": {
94-
"trailingCommas": "none"
78+
"assist": {
79+
"enabled": true,
80+
"actions": {
81+
"source": {
82+
"organizeImports": "on"
83+
}
9584
}
9685
}
9786
}

bun.lock

Lines changed: 777 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)