From 250a10b6c4500e343b5aa88c4c321b0e00efa9e7 Mon Sep 17 00:00:00 2001
From: Manti <67705577+mantikafasi@users.noreply.github.com>
Date: Tue, 22 Nov 2022 01:19:37 +0300
Subject: [PATCH] fix elint
---
.../reviewDB/components/ReviewBadge.tsx | 21 +++++++++++++++++--
src/plugins/reviewDB/entities/Badge.ts | 20 +++++++++++++++++-
2 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/src/plugins/reviewDB/components/ReviewBadge.tsx b/src/plugins/reviewDB/components/ReviewBadge.tsx
index a290f8af7..3c9207a20 100644
--- a/src/plugins/reviewDB/components/ReviewBadge.tsx
+++ b/src/plugins/reviewDB/components/ReviewBadge.tsx
@@ -1,7 +1,24 @@
-import { IpcEvents } from "../../../utils";
-import { Tooltip } from "../../../webpack/common";
+/*
+ * Vencord, a modification for Discord's desktop app
+ * Copyright (c) 2022 Vendicated and contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+*/
import Badge from "../entities/Badge";
+import IpcEvents from "../../../utils/IpcEvents";
+import { Tooltip } from "../../../webpack/common";
export default function ReviewBadge(badge: Badge) {
return (
diff --git a/src/plugins/reviewDB/entities/Badge.ts b/src/plugins/reviewDB/entities/Badge.ts
index a43518d81..061880472 100644
--- a/src/plugins/reviewDB/entities/Badge.ts
+++ b/src/plugins/reviewDB/entities/Badge.ts
@@ -1,6 +1,24 @@
+/*
+ * Vencord, a modification for Discord's desktop app
+ * Copyright (c) 2022 Vendicated and contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+*/
+
export default interface Badge {
badge_name: string,
badge_icon: string,
redirect_url: string,
badge_type: number,
-}
+};