style: fix linting issues with imports

This commit is contained in:
Divlo 2022-01-13 17:41:34 +01:00
parent 5643ab420f
commit 32ac15c831
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
4 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import { Static, Type } from '@sinclair/typebox' import { Static, Type } from '@sinclair/typebox'
import { FastifyPluginAsync, FastifySchema } from 'fastify' import { FastifyPluginAsync, FastifySchema } from 'fastify'
import prisma from '../../../tools/database/prisma.js' import prisma from '../../../tools/database/prisma.js'

View File

@ -1,7 +1,7 @@
import { Type } from '@sinclair/typebox' import { Type } from '@sinclair/typebox'
import { FastifyPluginAsync, FastifySchema } from 'fastify' import { FastifyPluginAsync, FastifySchema } from 'fastify'
import fastifyMultipart from 'fastify-multipart' import fastifyMultipart from 'fastify-multipart'
import authenticateUser from '../../../../tools/plugins/authenticateUser.js' import authenticateUser from '../../../../tools/plugins/authenticateUser.js'
import { fastifyErrors } from '../../../../models/utils.js' import { fastifyErrors } from '../../../../models/utils.js'
import prisma from '../../../../tools/database/prisma.js' import prisma from '../../../../tools/database/prisma.js'

View File

@ -1,4 +1,5 @@
import fastify from 'fastify' import fastify from 'fastify'
import fastifySocketIo from '../socket-io.js' import fastifySocketIo from '../socket-io.js'
describe('tools/plugins/socket-io', () => { describe('tools/plugins/socket-io', () => {

View File

@ -3,7 +3,6 @@ import { URL } from 'node:url'
import { randomUUID } from 'node:crypto' import { randomUUID } from 'node:crypto'
import { FastifyInstance, FastifyRequest } from 'fastify' import { FastifyInstance, FastifyRequest } from 'fastify'
import { Multipart } from 'fastify-multipart' import { Multipart } from 'fastify-multipart'
import { ROOT_URL } from '../configurations/index.js' import { ROOT_URL } from '../configurations/index.js'