Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use recommended ESLint rules and fix errors #192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/site/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["next/core-web-vitals"]
"extends": ["eslint:recommended", "next/core-web-vitals", "next/typescript"]
}
2 changes: 1 addition & 1 deletion apps/site/src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const revalidate = 60;

import Landing from "./sections/Landing";
import GetInvolved from "./sections/GetInvolved";
import Sponsors from "./sections/Sponsors";
// import Sponsors from "./sections/Sponsors";
import FAQ from "./sections/FAQ";

import styles from "./page.module.scss";
Expand Down
2 changes: 1 addition & 1 deletion apps/site/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Metadata } from "next";
import { Fredoka } from "next/font/google";

import NavBar from "@/components/NavBar/NavBar";
// import NavBar from "@/components/NavBar/NavBar";
import Footer from "@/components/Footer/Footer";
import "@/lib/styles/bootstrap.scss";
import "@/lib/styles/globals.scss";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ const ClipboardSchedule: React.FC<ClipboardScheduleProps> = ({ schedule }) => {
title,
description,
location,
hosts,
startTime,
endTime,
}) => {
Expand Down
Empty file removed apps/site/src/components/.gitkeep
Empty file.
6 changes: 2 additions & 4 deletions apps/site/src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"use client";

import Image from "next/image";
import Image, { StaticImageData } from "next/image";
import Link from "next/link";
import clsx from "clsx";

Expand All @@ -13,7 +11,7 @@ import Hack from "@/assets/icons/hack.svg";
import TikTok from "@/assets/icons/tiktok.svg";

type Social = {
icon: any;
icon: StaticImageData;
link: string;
alt: string;
};
Expand Down
5 changes: 0 additions & 5 deletions apps/site/src/components/Sticker/BaseSticker.module.scss

This file was deleted.

82 changes: 0 additions & 82 deletions apps/site/src/components/Sticker/BaseSticker.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions apps/site/src/components/Sticker/StickerPosition.module.scss

This file was deleted.

56 changes: 0 additions & 56 deletions apps/site/src/components/Sticker/StickerPosition.tsx

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions apps/site/src/components/Sticker/Stickers/index.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions apps/site/src/components/Sticker/Stickers/stickerProps.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function ResourceCard({
) : (
title
)}{" "}
{links.map(({ text, link }) => (
{links.map(({ link }) => (
<motion.a
className="d-inline ms-1 vertical-align-middle"
variants={variant}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
Loading