fix: resolve biome lint and formatting errors

- Enable Tailwind CSS directives in biome config
- Update biome schema to 2.4.6
- Fix useless fragment in memory-graph.tsx
- Apply formatting fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
claude[bot] 2026-03-11 03:57:12 +00:00
parent f402e1adeb
commit 7f4e1bcad2
4 changed files with 19 additions and 10 deletions

View file

@ -374,7 +374,9 @@ export function MemoriesGrid({
>
All
{facetsData?.total !== undefined && (
<span className="ml-1 text-[#737373]">({facetsData.total})</span>
<span className="ml-1 text-[#737373]">
({facetsData.total})
</span>
)}
</Button>
{facetsData?.facets.map((facet: DocumentFacet) => (
@ -430,7 +432,9 @@ export function MemoriesGrid({
</button>
</>
) : (
<p className={cn(dmSansClassName(), "text-xs text-[#737373]")}>
<p
className={cn(dmSansClassName(), "text-xs text-[#737373]")}
>
Select one or more documents
</p>
)}

View file

@ -1,5 +1,10 @@
{
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
"css": {
"parser": {
"tailwindDirectives": true
}
},
"assist": {
"actions": {
"source": {

View file

@ -6,10 +6,10 @@
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {

View file

@ -409,9 +409,9 @@ export const MemoryGraph = ({
</AnimatePresence>
{/* Show welcome screen when no memories exist */}
{!isLoading && (!data || !nodes.some((n) => n.type === "document")) && (
<>{children}</>
)}
{!isLoading &&
(!data || !nodes.some((n) => n.type === "document")) &&
children}
{/* Graph container */}
<div