Revert "Upgrade linter and formatter to Ultracite" (#1226)

This commit is contained in:
josh 2025-09-21 12:03:29 +01:00 committed by GitHub
parent 0e320b391d
commit 1aff7d9868
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 8334 additions and 6943 deletions

View file

@ -1,10 +1,10 @@
import type { UserType } from "@/app/(auth)/auth";
import type { ChatModel } from "./models";
import type { UserType } from '@/app/(auth)/auth';
import type { ChatModel } from './models';
type Entitlements = {
interface Entitlements {
maxMessagesPerDay: number;
availableChatModelIds: ChatModel["id"][];
};
availableChatModelIds: Array<ChatModel['id']>;
}
export const entitlementsByUserType: Record<UserType, Entitlements> = {
/*
@ -12,7 +12,7 @@ export const entitlementsByUserType: Record<UserType, Entitlements> = {
*/
guest: {
maxMessagesPerDay: 20,
availableChatModelIds: ["chat-model", "chat-model-reasoning"],
availableChatModelIds: ['chat-model', 'chat-model-reasoning'],
},
/*
@ -20,7 +20,7 @@ export const entitlementsByUserType: Record<UserType, Entitlements> = {
*/
regular: {
maxMessagesPerDay: 100,
availableChatModelIds: ["chat-model", "chat-model-reasoning"],
availableChatModelIds: ['chat-model', 'chat-model-reasoning'],
},
/*