Add ESLint & Run it against the system (#4470)

This commit is contained in:
Zach H 2021-11-13 14:49:06 -05:00 committed by ZeldaZach
parent 43eee6b32e
commit f789e02096
106 changed files with 1235 additions and 20242 deletions

View file

@ -1,6 +1,6 @@
import {StatusEnum, User} from "types";
import {SessionCommands, webClient} from "websocket";
import {WebSocketConnectReason, WebSocketOptions} from "../websocket/services/WebSocketService";
import { StatusEnum, User } from 'types';
import { SessionCommands, webClient } from 'websocket';
import { WebSocketConnectReason, WebSocketOptions } from '../websocket/services/WebSocketService';
export default class AuthenticationService {
static connect(options: WebSocketOptions): void {

View file

@ -1,4 +1,4 @@
import { SessionCommands } from "websocket";
import { SessionCommands } from 'websocket';
export default class ModeratorService {
static viewLogHistory(filters): void {

View file

@ -1,4 +1,4 @@
import { RoomCommands, SessionCommands } from "websocket";
import { RoomCommands, SessionCommands } from 'websocket';
export default class RoomsService {
static joinRoom(roomId: number): void {

View file

@ -1,7 +1,7 @@
import { RouteEnum } from "types";
import { RouteEnum } from 'types';
export class RouterService {
resolveUrl(path, params) {
}
}

View file

@ -1,4 +1,4 @@
import { SessionCommands } from "websocket";
import { SessionCommands } from 'websocket';
export default class SessionService {
static addToBuddyList(userName: string) {

View file

@ -1,4 +1,4 @@
export { default as AuthenticationService } from "./AuthenticationService";
export { default as ModeratorService } from "./ModeratorService";
export { default as RoomsService } from "./RoomsService";
export { default as SessionService } from "./SessionService";
export { default as AuthenticationService } from './AuthenticationService';
export { default as ModeratorService } from './ModeratorService';
export { default as RoomsService } from './RoomsService';
export { default as SessionService } from './SessionService';