From a0684f0974251716803a30f00ec179d42f5ef0d8 Mon Sep 17 00:00:00 2001 From: Rupaak Srinivas Date: Fri, 19 Jan 2024 02:16:49 +0530 Subject: [PATCH] fix: linting errors --- src/pages/api/hello.ts | 13 ------------- src/styles/globals.css | 7 +++---- tailwind.config.ts | 6 +++--- 3 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 src/pages/api/hello.ts diff --git a/src/pages/api/hello.ts b/src/pages/api/hello.ts deleted file mode 100644 index f8bcc7e..0000000 --- a/src/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next' - -type Data = { - name: string -} - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }) -} diff --git a/src/styles/globals.css b/src/styles/globals.css index e7df609..413dbe2 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -4,8 +4,8 @@ :root { --foreground-rgb: 0, 0, 0; - --background-start-rgb: #D9D9D9; - --background-end-rgb: #D9D9D9; + --background-start-rgb: #d9d9d9; + --background-end-rgb: #d9d9d9; } body { @@ -18,13 +18,12 @@ body { rgb(var(--background-start-rgb)); } - ::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { - background-color: #D9D9D9; + background-color: #d9d9d9; } ::-webkit-scrollbar-thumb { diff --git a/tailwind.config.ts b/tailwind.config.ts index 5bbc10f..9ad7fd5 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -4,12 +4,12 @@ const config: Config = { content: [ './src/pages/**/*.{js,ts,jsx,tsx,mdx}', './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', + './src/app/**/*.{js,ts,jsx,tsx,mdx}' ], theme: { extend: { - }, + } }, - plugins: [], + plugins: [] } export default config