mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-07 05:01:49 +02:00
♻️ Update eslint config (#1424)
This commit is contained in:
parent
01396b6129
commit
d55131c2ab
162 changed files with 337 additions and 266 deletions
|
@ -1,10 +1,11 @@
|
|||
import { prisma } from "@rallly/database";
|
||||
import {
|
||||
import { absoluteUrl } from "@rallly/utils/absolute-url";
|
||||
import type {
|
||||
GetServerSidePropsContext,
|
||||
NextApiRequest,
|
||||
NextApiResponse,
|
||||
} from "next";
|
||||
import { NextAuthOptions, User } from "next-auth";
|
||||
import type { NextAuthOptions, User } from "next-auth";
|
||||
import NextAuth, {
|
||||
getServerSession as getServerSessionWithOptions,
|
||||
} from "next-auth/next";
|
||||
|
@ -12,14 +13,13 @@ import AzureADProvider from "next-auth/providers/azure-ad";
|
|||
import CredentialsProvider from "next-auth/providers/credentials";
|
||||
import EmailProvider from "next-auth/providers/email";
|
||||
import GoogleProvider from "next-auth/providers/google";
|
||||
import { Provider } from "next-auth/providers/index";
|
||||
import type { Provider } from "next-auth/providers/index";
|
||||
|
||||
import { posthog } from "@/app/posthog";
|
||||
import { CustomPrismaAdapter } from "@/auth/custom-prisma-adapter";
|
||||
import { mergeGuestsIntoUser } from "@/auth/merge-user";
|
||||
import { env } from "@/env";
|
||||
import type { RegistrationTokenPayload } from "@/trpc/types";
|
||||
import { absoluteUrl } from "@/utils/absolute-url";
|
||||
import { getEmailClient } from "@/utils/emails";
|
||||
import { getValueByPath } from "@/utils/get-value-by-path";
|
||||
import { generateOtp, randomid } from "@/utils/nanoid";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue