aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/VencordNative.ts20
-rw-r--r--src/api/DataStore/index.ts2
-rw-r--r--src/components/VencordSettings/VencordTab.tsx1
-rw-r--r--src/main/themes/index.ts2
-rw-r--r--src/main/updater/common.ts1
-rw-r--r--src/main/utils/crxToZip.ts2
-rw-r--r--src/plugins/betterGifAltText.ts1
-rw-r--r--src/plugins/biggerStreamPreview/webpack/stores.ts1
-rw-r--r--src/plugins/clearURLs/defaultRules.ts1
-rw-r--r--src/plugins/mutualGroupDMs.tsx1
-rw-r--r--src/plugins/noPendingCount.ts1
-rw-r--r--src/plugins/reviewDB/reviewDbApi.ts1
-rw-r--r--src/plugins/shikiCodeblocks/api/shiki.ts1
-rw-r--r--src/plugins/shikiCodeblocks/previewExample.tsx2
-rw-r--r--src/plugins/startupTimings/index.tsx1
-rw-r--r--src/plugins/translate/languages.ts1
-rw-r--r--src/utils/constants.ts6
-rw-r--r--src/webpack/common/menu.ts1
18 files changed, 13 insertions, 33 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts
index da09ade..58f553c 100644
--- a/src/VencordNative.ts
+++ b/src/VencordNative.ts
@@ -1,20 +1,8 @@
/*
- * Vencord, a modification for Discord's desktop app
- * Copyright (c) 2022
- *
- * 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 <https://www.gnu.org/licenses/>.
-*/
+ * Vencord, a Discord client mod
+ * Copyright (c) 2023 Vendicated and contributors
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
import { IpcEvents } from "@utils/IpcEvents";
import { IpcRes } from "@utils/types";
diff --git a/src/api/DataStore/index.ts b/src/api/DataStore/index.ts
index 49c8595..97f43ed 100644
--- a/src/api/DataStore/index.ts
+++ b/src/api/DataStore/index.ts
@@ -1,4 +1,4 @@
-/* eslint-disable header/header */
+/* eslint-disable simple-header/header */
/*!
* idb-keyval v6.2.0
diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx
index 1502bfa..a80b79a 100644
--- a/src/components/VencordSettings/VencordTab.tsx
+++ b/src/components/VencordSettings/VencordTab.tsx
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { openNotificationLogModal } from "@api/Notifications/notificationLog";
import { Settings, useSettings } from "@api/Settings";
import { classNameFactory } from "@api/Styles";
diff --git a/src/main/themes/index.ts b/src/main/themes/index.ts
index f660e50..0751663 100644
--- a/src/main/themes/index.ts
+++ b/src/main/themes/index.ts
@@ -1,4 +1,4 @@
-/* eslint-disable header/header */
+/* eslint-disable simple-header/header */
/*!
* BetterDiscord addon meta parser
diff --git a/src/main/updater/common.ts b/src/main/updater/common.ts
index 7cea82d..69832d1 100644
--- a/src/main/updater/common.ts
+++ b/src/main/updater/common.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
export const VENCORD_FILES = [
IS_DISCORD_DESKTOP ? "patcher.js" : "vencordDesktopMain.js",
"preload.js",
diff --git a/src/main/utils/crxToZip.ts b/src/main/utils/crxToZip.ts
index ca43890..f018629 100644
--- a/src/main/utils/crxToZip.ts
+++ b/src/main/utils/crxToZip.ts
@@ -1,4 +1,4 @@
-/* eslint-disable header/header */
+/* eslint-disable simple-header/header */
/*!
* crxToZip
diff --git a/src/plugins/betterGifAltText.ts b/src/plugins/betterGifAltText.ts
index 5e0191b..dcffc02 100644
--- a/src/plugins/betterGifAltText.ts
+++ b/src/plugins/betterGifAltText.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
diff --git a/src/plugins/biggerStreamPreview/webpack/stores.ts b/src/plugins/biggerStreamPreview/webpack/stores.ts
index e8a4ee2..ba5227b 100644
--- a/src/plugins/biggerStreamPreview/webpack/stores.ts
+++ b/src/plugins/biggerStreamPreview/webpack/stores.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { findStoreLazy } from "@webpack";
import * as t from "./types/stores";
diff --git a/src/plugins/clearURLs/defaultRules.ts b/src/plugins/clearURLs/defaultRules.ts
index 5a5f135..b162bbc 100644
--- a/src/plugins/clearURLs/defaultRules.ts
+++ b/src/plugins/clearURLs/defaultRules.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
export const defaultRules = [
"action_object_map",
"action_type_map",
diff --git a/src/plugins/mutualGroupDMs.tsx b/src/plugins/mutualGroupDMs.tsx
index a365813..d445522 100644
--- a/src/plugins/mutualGroupDMs.tsx
+++ b/src/plugins/mutualGroupDMs.tsx
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { Devs } from "@utils/constants";
import { isNonNullish } from "@utils/guards";
import definePlugin from "@utils/types";
diff --git a/src/plugins/noPendingCount.ts b/src/plugins/noPendingCount.ts
index 0de3ecd..2ce375e 100644
--- a/src/plugins/noPendingCount.ts
+++ b/src/plugins/noPendingCount.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { definePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
diff --git a/src/plugins/reviewDB/reviewDbApi.ts b/src/plugins/reviewDB/reviewDbApi.ts
index e3ab8a8..e8008c8 100644
--- a/src/plugins/reviewDB/reviewDbApi.ts
+++ b/src/plugins/reviewDB/reviewDbApi.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { Review, ReviewDBUser } from "./entities";
import { settings } from "./settings";
import { authorize, showToast } from "./utils";
diff --git a/src/plugins/shikiCodeblocks/api/shiki.ts b/src/plugins/shikiCodeblocks/api/shiki.ts
index e7691ce..91e179b 100644
--- a/src/plugins/shikiCodeblocks/api/shiki.ts
+++ b/src/plugins/shikiCodeblocks/api/shiki.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { shikiOnigasmSrc, shikiWorkerSrc } from "@utils/dependencies";
import { WorkerClient } from "@vap/core/ipc";
import type { IShikiTheme, IThemedToken } from "@vap/shiki";
diff --git a/src/plugins/shikiCodeblocks/previewExample.tsx b/src/plugins/shikiCodeblocks/previewExample.tsx
index 971d016..508153b 100644
--- a/src/plugins/shikiCodeblocks/previewExample.tsx
+++ b/src/plugins/shikiCodeblocks/previewExample.tsx
@@ -1,4 +1,4 @@
-/* eslint-disable header/header */
+/* eslint-disable simple-header/header */
import React from "react";
const handleClick = async () =>
diff --git a/src/plugins/startupTimings/index.tsx b/src/plugins/startupTimings/index.tsx
index acb11c9..3eec9d0 100644
--- a/src/plugins/startupTimings/index.tsx
+++ b/src/plugins/startupTimings/index.tsx
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
import { Devs } from "@utils/constants";
import { LazyComponent } from "@utils/react";
import definePlugin from "@utils/types";
diff --git a/src/plugins/translate/languages.ts b/src/plugins/translate/languages.ts
index c3be053..4bf370b 100644
--- a/src/plugins/translate/languages.ts
+++ b/src/plugins/translate/languages.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
/*
To generate:
- Visit https://translate.google.com/?sl=auto&tl=en&op=translate
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 9771f42..667e396 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -334,7 +334,11 @@ export const Devs = /* #__PURE__*/ Object.freeze({
HypedDomi: {
name: "HypedDomi",
id: 354191516979429376n
- }
+ },
+ Rini: {
+ name: "Rini",
+ id: 1079479184478441643n
+ },
} satisfies Record<string, Dev>);
// iife so #__PURE__ works correctly
diff --git a/src/webpack/common/menu.ts b/src/webpack/common/menu.ts
index 97d1d2f..e2ad372 100644
--- a/src/webpack/common/menu.ts
+++ b/src/webpack/common/menu.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
// eslint-disable-next-line path-alias/no-relative
import { filters, mapMangledModuleLazy, waitFor } from "../webpack";
import type * as t from "./types/menu";