File tree Expand file tree Collapse file tree 9 files changed +46
-95
lines changed
Expand file tree Collapse file tree 9 files changed +46
-95
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " ultracite " : patch
3+ ---
4+
5+ Upgrade Biome to 2.4
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "version" : " 0.0.0" ,
66 "catalog" : {
7- "@biomejs/biome" : " 2.3.10 " ,
7+ "@biomejs/biome" : " 2.4.0 " ,
88 "@icons-pack/react-simple-icons" : " ^13.8.0" ,
99 "@supabase/ssr" : " ^0.8.0" ,
1010 "@supabase/supabase-js" : " ^2.89.0" ,
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ const vscodeBiomeConfig = {
2626 "[json]" : { "editor.defaultFormatter" : "biomejs.biome" } ,
2727 "[jsonc]" : { "editor.defaultFormatter" : "biomejs.biome" } ,
2828 "editor.codeActionsOnSave" : {
29+ "source.action.noDuplicateClasses.biome" : "explicit" ,
2930 "source.fixAll.biome" : "explicit" ,
3031 "source.organizeImports.biome" : "explicit" ,
3132 } ,
Original file line number Diff line number Diff line change 77 "indentScriptAndStyle" : true
88 }
99 },
10- // Disable organizeImports for Astro files — Biome's import organizer
11- // incorrectly removes all imports in template-based files when used with
12- // experimentalFullSupportEnabled. Upstream: https://github.com/biomejs/biome/issues/8596
13- "assist" : {
14- "actions" : {
15- "source" : {
16- "organizeImports" : " off"
17- }
18- }
19- },
2010 "overrides" : [
2111 {
2212 "includes" : [" **/*.astro" ],
2313 "linter" : {
2414 "rules" : {
2515 "correctness" : {
26- "noUnusedVariables" : " off" ,
2716 "noUnusedImports" : " off"
2817 },
29- "style" : {
30- "useConst" : " off" ,
31- "useImportType" : " off"
32- },
3318 "suspicious" : {
3419 "noReactSpecificProps" : " error"
3520 }
Original file line number Diff line number Diff line change 6565 // Enforce attribute sorting in JSX elements.
6666 "useSortedAttributes" : " on" ,
6767 // Enforce ordering of a JS object properties.
68- "useSortedKeys" : " off"
68+ "useSortedKeys" : " off" ,
69+ // Enforce no duplicate classes in the file.
70+ "noDuplicateClasses" : " on" ,
71+ // Enforce ordering of a TypeScript interface members.
72+ "useSortedInterfaceMembers" : " on" ,
73+ // Enforce ordering of a JavaScript object properties.
74+ "useSortedProperties" : " on"
6975 }
7076 }
7177 },
Original file line number Diff line number Diff line change 77 "indentScriptAndStyle" : true
88 }
99 },
10- // Disable organizeImports for Svelte files — Biome's import organizer
11- // incorrectly removes all imports in template-based files when used with
12- // experimentalFullSupportEnabled. Upstream: https://github.com/biomejs/biome/issues/8596
13- "assist" : {
14- "actions" : {
15- "source" : {
16- "organizeImports" : " off"
17- }
18- }
19- },
2010 "overrides" : [
2111 {
2212 "includes" : [" **/*.svelte" ],
2313 "linter" : {
2414 "rules" : {
2515 "correctness" : {
26- "noUnusedVariables" : " off" ,
2716 "noUnusedImports" : " off"
2817 },
29- "style" : {
30- "useConst" : " off" ,
31- "useImportType" : " off"
32- },
3318 "suspicious" : {
3419 "noReactSpecificProps" : " error"
3520 }
Original file line number Diff line number Diff line change 77 "indentScriptAndStyle" : true
88 }
99 },
10- // Disable organizeImports for Vue files — Biome's import organizer
11- // incorrectly removes all imports in template-based files when used with
12- // experimentalFullSupportEnabled. Upstream: https://github.com/biomejs/biome/issues/8596
13- "assist" : {
14- "actions" : {
15- "source" : {
16- "organizeImports" : " off"
17- }
18- }
19- },
2010 "overrides" : [
2111 {
2212 "includes" : [" **/*.vue" ],
2313 "linter" : {
2414 "rules" : {
2515 "correctness" : {
26- "noUnusedVariables" : " off" ,
2716 "noUnusedImports" : " off"
2817 },
29- "style" : {
30- "useConst" : " off" ,
31- "useImportType" : " off"
32- },
3318 "suspicious" : {
3419 "noReactSpecificProps" : " error"
3520 }
Original file line number Diff line number Diff line change 4747 "url" : " git+https://github.com/haydenbleasel/ultracite.git"
4848 },
4949 "devDependencies" : {
50- "@biomejs/biome" : " 2.3.15 " ,
50+ "@biomejs/biome" : " 2.4.0 " ,
5151 "@eslint/js" : " ^10.0.1" ,
5252 "@next/eslint-plugin-next" : " ^16.1.6" ,
5353 "@repo/data" : " workspace:*" ,
You can’t perform that action at this time.
0 commit comments