diff options
author | Ven <vendicated@riseup.net> | 2022-10-06 00:42:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 00:42:58 +0200 |
commit | 74c3930e0a5ed264f330bc32c27116ead1063c5d (patch) | |
tree | a29ba43787c8cf8bbee648b5b478a8152086f965 /src/api | |
parent | e563521416052808bcec57057b921f0c0b6ca594 (diff) | |
download | Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2 Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip |
add eslint config (#53)
* eslint
* workflow
* lint main
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/Commands.ts | 2 | ||||
-rw-r--r-- | src/api/MessageEvents.ts | 4 | ||||
-rw-r--r-- | src/api/settings.ts | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/api/Commands.ts b/src/api/Commands.ts index 3a3e88c..10503e9 100644 --- a/src/api/Commands.ts +++ b/src/api/Commands.ts @@ -1,5 +1,5 @@ import { Channel, Guild } from "discord-types/general"; -import { waitFor } from '../webpack'; +import { waitFor } from "../webpack"; export function _init(cmds: Command[]) { try { diff --git a/src/api/MessageEvents.ts b/src/api/MessageEvents.ts index 534012f..0b3be65 100644 --- a/src/api/MessageEvents.ts +++ b/src/api/MessageEvents.ts @@ -1,5 +1,5 @@ -import type { Message, Channel } from 'discord-types/general'; -import Logger from '../utils/logger'; +import type { Message, Channel } from "discord-types/general"; +import Logger from "../utils/logger"; const MessageEventsLogger = new Logger("MessageEvents", "#e5c890"); diff --git a/src/api/settings.ts b/src/api/settings.ts index 3328323..51bec1d 100644 --- a/src/api/settings.ts +++ b/src/api/settings.ts @@ -1,7 +1,7 @@ import plugins from "plugins"; import IpcEvents from "../utils/IpcEvents"; import { React } from "../webpack/common"; -import { mergeDefaults } from '../utils/misc'; +import { mergeDefaults } from "../utils/misc"; interface Settings { notifyAboutUpdates: boolean; |