add eslint config (#53)

* eslint

* workflow

* lint main
This commit is contained in:
Ven 2022-10-06 00:42:58 +02:00 committed by GitHub
parent e563521416
commit 74c3930e0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 141 additions and 87 deletions

View file

@ -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 {

View file

@ -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");

View file

@ -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;