diff --git a/.eslintrc.json b/.eslintrc.json index 2178947..7c66503 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,4 +1,5 @@ { + "parser": "@typescript-eslint/parser", "extends": ["next/core-web-vitals", "prettier"], "plugins": ["simple-import-sort", "unused-imports", "@typescript-eslint"], "rules": { diff --git a/next.config.js b/next.config.js index d649d32..aabcb8d 100644 --- a/next.config.js +++ b/next.config.js @@ -3,14 +3,10 @@ const nextConfig = { reactStrictMode: true, images: { remotePatterns: [ - { protocol: "https", hostname: "i.ytimg.com" }, { protocol: "https", hostname: "images.unsplash.com" }, { protocol: "https", hostname: "*.notion.so" }, ], }, - rewrites: async () => { - return [{ source: "/sitemap.xml", destination: "/api/sitemap" }]; - }, }; module.exports = nextConfig; diff --git a/tailwind.config.ts b/tailwind.config.ts index 8496b02..7c26d15 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -10,8 +10,6 @@ const config = { "light-green": "#35c19f", }, spacing: { - header: "var(--height-header)", - footer: "var(--height-header)", content: "var(--width-content)", limit: "var(--width-limit)", }, diff --git a/tsconfig.json b/tsconfig.json index 5e43011..2b20cbf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,11 +16,6 @@ "paths": { "src/*": ["./src/*"], "app/*": ["./app/*"], - "public/*": ["./public/*"], - - // legacy - "~/*": ["./src/*"], - "root/*": ["./*"], }, "plugins": [{ "name": "next" }], },