aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorRini <rini@rinici.de>2023-08-10 00:17:49 +0000
committerVen <ven@noreply.codeberg.org>2023-08-10 00:17:49 +0000
commit8b6c8bc0ecedfea82370a253050657e5ca9d48f1 (patch)
treead9d718a7a9fc6099b532705342b30d07c8be55b /src/plugins
parent1a62249da6bd75981a75c6c7ce09e946336fc88e (diff)
downloadVencord-8b6c8bc0ecedfea82370a253050657e5ca9d48f1.tar.gz
Vencord-8b6c8bc0ecedfea82370a253050657e5ca9d48f1.tar.bz2
Vencord-8b6c8bc0ecedfea82370a253050657e5ca9d48f1.zip
chore: transition to shorter license headers (#6)
Transition from the GPL jumpscare to a more concise header: /* * Vencord, a Discord client mod * Copyright (c) 2023 Vendicated and contributors * * SPDX-License-Identifier: GPL-3.0 */ Old files still keep the old headers, while eslint will now autofix the new header Reviewed-on: https://codeberg.org/Ven/cord/pulls/6 Co-authored-by: Rini <rini@rinici.de> Co-committed-by: Rini <rini@rinici.de>
Diffstat (limited to 'src/plugins')
-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
10 files changed, 1 insertions, 10 deletions
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