From 74c3930e0a5ed264f330bc32c27116ead1063c5d Mon Sep 17 00:00:00 2001 From: Ven Date: Thu, 6 Oct 2022 00:42:58 +0200 Subject: add eslint config (#53) * eslint * workflow * lint main --- src/plugins/settings.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/settings.ts') diff --git a/src/plugins/settings.ts b/src/plugins/settings.ts index 7125823..afd3fd3 100644 --- a/src/plugins/settings.ts +++ b/src/plugins/settings.ts @@ -1,6 +1,6 @@ import definePlugin from "../utils/types"; import gitHash from "git-hash"; -import { Devs } from '../utils/constants'; +import { Devs } from "../utils/constants"; export default definePlugin({ name: "Settings", @@ -30,8 +30,8 @@ export default definePlugin({ match: /\{section:(.{1,2})\.ID\.HEADER,\s*label:(.{1,2})\..{1,2}\.Messages\.ACTIVITY_SETTINGS\}/, replace: (m, mod) => `{section:${mod}.ID.HEADER,label:"Vencord"},` + - `{section:"VencordSetting",label:"Vencord",element:Vencord.Components.Settings},` + - `{section:"VencordUpdater",label:"Updater",element:Vencord.Components.Updater,predicate:()=>!IS_WEB},` + + '{section:"VencordSetting",label:"Vencord",element:Vencord.Components.Settings},' + + '{section:"VencordUpdater",label:"Updater",element:Vencord.Components.Updater,predicate:()=>!IS_WEB},' + `{section:${mod}.ID.DIVIDER},${m}` } -- cgit