diff --git a/eslint.config.js b/eslint.config.js index 08d120f40038b536935a19cd9097acef7ddf5cfa..009aa6e744f2fdcf5391c21b956e5ce393b631c2 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,4 +30,14 @@ export default [ { ignores: ["build/", ".svelte-kit/", "dist/"], }, + { + rules: { + "@typescript-eslint/no-empty-object-type": [ + "error", + { + allowInterfaces: "with-single-extends", + }, + ], + }, + }, ]; diff --git a/src/lib/lucia.ts b/src/lib/lucia.ts index 910733fb06c125a2372cb9ef1492dd2ce48e5821..79a2f7172b09bc00453559de9a3e2c30bcdb6dea 100644 --- a/src/lib/lucia.ts +++ b/src/lib/lucia.ts @@ -18,7 +18,7 @@ export interface DatabaseSession { id_token: string; } -export interface DefaultUserAttributes {} +export type DefaultUserAttributes = Record<string, unknown>; export interface DefaultSessionAttributes { id_token: string; }