Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
beeequeue committed Sep 5, 2023
1 parent a76711d commit 130a72f
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type import("eslint-define-config").ESLintConfig */
module.exports = {
root: true,
ignorePatterns: ["node_modules", ".output", ".nuxt"],
ignorePatterns: ["node_modules", ".output", ".nuxt", "windi.config.ts"],
env: {
es2021: true,
browser: true,
Expand Down
1 change: 0 additions & 1 deletion server/api/callback/discord.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineEventHandler, sendRedirect } from "h3"
import z from "myzod"

import { serverSupabase } from "~/server/composables/supabase"

const Input = z.object(
Expand Down
1 change: 0 additions & 1 deletion server/api/check.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineEventHandler, getHeader, H3Event } from "h3"

import { serverSupabase } from "~/server/composables/supabase"

import { formatPatchData, okResponse } from "../utils"
Expand Down
1 change: 0 additions & 1 deletion server/api/subscription.delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineEventHandler } from "h3"

import { serverSupabase } from "~/server/composables/supabase"
import { okResponse } from "~/server/utils"

Expand Down
1 change: 0 additions & 1 deletion server/api/subscription.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineEventHandler } from "h3"

import { serverSupabase } from "~/server/composables/supabase"
import { okResponse } from "~/server/utils"

Expand Down
1 change: 0 additions & 1 deletion server/api/subscription.post.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineEventHandler, readBody, setResponseStatus } from "h3"
import z, { Infer } from "myzod"

import { serverSupabase } from "~/server/composables/supabase"
import { okResponse } from "~/server/utils"

Expand Down
1 change: 0 additions & 1 deletion server/composables/supabase.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { serverSupabaseServiceRole } from "#supabase/server"
import { H3Event } from "h3"

import { Database, Patch } from "~/lib/types"
import type { UpdateSubscriptionInput } from "~/server/api/subscription.post"
import { Logger } from "~/server/utils/logger"
Expand Down
1 change: 0 additions & 1 deletion server/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { DotaVersion } from "dotaver"

import { Patch } from "~/lib/types"

import { PatchNoteListItem } from "./dota"
Expand Down
1 change: 0 additions & 1 deletion utils/patch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { differenceInDays } from "date-fns"

import { Patch } from "~/lib/types"

export const isRecentlyReleased = (patch: Patch | null | undefined) =>
Expand Down

0 comments on commit 130a72f

Please sign in to comment.