🔄 Synchronize Biome linting rules between relay and frontend

🛠️ Apply identical Biome configuration from frontend to relay service
🧹 Ensure consistent code formatting and quality standards across components
📝 Maintain unified development experience throughout the project
This commit is contained in:
Danny Morabito 2025-03-24 19:20:24 +01:00
parent 4bd0839669
commit a4134fa416
Signed by: dannym
GPG key ID: 7CC8056A5A04557E
9 changed files with 273 additions and 195 deletions

View file

@ -1,4 +1,4 @@
import type { BindValue, Database } from "@db/sqlite";
import type { BindValue, Database } from '@db/sqlite';
/**
* Construct a SQL query with placeholders for values.
@ -23,8 +23,8 @@ export function sqlPartial(
) {
return {
query: segments.reduce(
(acc, str, i) => acc + str + (i < values.length ? "?" : ""),
"",
(acc, str, i) => acc + str + (i < values.length ? '?' : ''),
'',
),
values: values,
};
@ -72,7 +72,7 @@ export function mixQuery(...queries: { query: string; values: BindValue[] }[]) {
query: `${acc.query} ${query}`,
values: [...acc.values, ...values],
}),
{ query: "", values: [] },
{ query: '', values: [] },
);
return { query, values };
}