eslint
This commit is contained in:
parent
2d6baf00db
commit
180059b022
20 changed files with 166 additions and 177 deletions
|
|
@ -87,6 +87,7 @@ export default defineConfig(
|
|||
"@stylistic/object-curly-spacing": ["error", "always"],
|
||||
"@stylistic/spaced-comment": ["error", "always", { "markers": ["!"] }],
|
||||
"@stylistic/no-extra-semi": "error",
|
||||
"@stylistic/indent": ["error", 4, { "SwitchCase": 1 }],
|
||||
"no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }],
|
||||
|
||||
// TS Rules
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ const noDrag = {
|
|||
};
|
||||
|
||||
const StickerPackMetadata = ({ meta, hoveredStickerPackId, setHoveredStickerPackId, refreshStickerPackMetas }:
|
||||
{ meta: StickerPackMeta, [key: string]: any; }
|
||||
{ meta: StickerPackMeta, [key: string]: any; }
|
||||
) => {
|
||||
return (
|
||||
<div className="sticker-pack"
|
||||
|
|
|
|||
|
|
@ -1,19 +1,7 @@
|
|||
/*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2026 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { Auth, getToken } from "@plugins/reviewDB/auth";
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ import { definePluginSettings } from "@api/Settings";
|
|||
import { disableStyle, enableStyle } from "@api/Styles";
|
||||
import { parseUrl } from "@utils/misc";
|
||||
import { wordsFromPascal, wordsToTitle } from "@utils/text";
|
||||
import { OptionType } from "@utils/types";
|
||||
import { t } from "@utils/translation";
|
||||
import { OptionType } from "@utils/types";
|
||||
|
||||
import { shiki } from "./api/shiki";
|
||||
import { themes } from "./api/themes";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { Devs } from "@utils/constants";
|
||||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
import { MessageActions, PinActions } from "@webpack/common";
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ export default definePlugin({
|
|||
name: "ShowAllMessageButtons",
|
||||
description: "Always show all message buttons no matter if you are holding the shift key or not.",
|
||||
tags: ["Chat", "Utility"],
|
||||
authors: [Devs.Nuckyz],
|
||||
authors: [Devs.Nuckyz, EquicordDevs.mochienya],
|
||||
settings,
|
||||
|
||||
patches: [
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
*/
|
||||
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { OptionType } from "@utils/types";
|
||||
import { t } from "@utils/translation";
|
||||
import { OptionType } from "@utils/types";
|
||||
|
||||
export const enum PronounsFormat {
|
||||
Lowercase = "LOWERCASE",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue