switch compiler to swc, add eslint

This commit is contained in:
sam 2023-07-21 01:27:24 +02:00
parent 9f74db9857
commit 42f48fb046
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
13 changed files with 1422 additions and 144 deletions

View file

@ -1,10 +1,10 @@
import type { FastifyReply, FastifyRequest, RouteOptions } from "fastify";
import { IsNull } from "typeorm";
import log from "../../log.js";
import MercuryDataSource from "../../db/index.js";
import { Blog } from "../../db/entities/blog.js";
import { BASE_URL } from "../../config.js";
import log from "~/log.js";
import MercuryDataSource from "~/db/index.js";
import { Blog } from "~entities/blog.js";
import { BASE_URL } from "~/config.js";
const route: RouteOptions = {
method: "GET",