chore: Migrate ESLint and prettier to Biome (#3634)

* Migrate eslint and prettier to biomejs

This does NOT include examples/bigbot as it has its own formatter

* Update to biome 1.8.0

* Readd dotenv dev dependency to rest

During a merge it got lost
This commit is contained in:
Fleny
2024-07-13 13:05:02 -05:00
committed by GitHub
parent 7b3bd76c82
commit 919474069d
132 changed files with 722 additions and 4993 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import fastifyMultipart from '@fastify/multipart'
import fastifyEnv from '@fastify/env'
import fastifyHelmet from '@fastify/helmet'
import fastifyMultipart from '@fastify/multipart'
import fastify, { type FastifyInstance } from 'fastify'
export const buildFastifyApp = async (): Promise<FastifyInstance> => {
+2 -2
View File
@@ -1,5 +1,5 @@
import { type RequestMethods, createRestManager } from '@discordeno/rest'
import type { MultipartFile, MultipartValue } from '@fastify/multipart'
import { createRestManager, type RequestMethods } from '@discordeno/rest'
import { buildFastifyApp } from './fastify.js'
const app = await buildFastifyApp()
@@ -13,7 +13,7 @@ const discordRestManager = createRestManager({
token: app.config.DISCORD_TOKEN,
})
app.get('/timecheck', async (request, reply) => {
app.get('/timecheck', async (_request, reply) => {
reply.status(200).send({
message: Date.now(),
})