mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
Add ESLint & Run it against the system (#4470)
This commit is contained in:
parent
43eee6b32e
commit
f789e02096
106 changed files with 1235 additions and 20242 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { store, RoomsDispatch, RoomsSelectors } from "store";
|
||||
import { store, RoomsDispatch, RoomsSelectors } from 'store';
|
||||
import { Game, Message, Room, User } from 'types';
|
||||
import NormalizeService from "../utils/NormalizeService";
|
||||
import NormalizeService from '../utils/NormalizeService';
|
||||
|
||||
export class RoomPersistence {
|
||||
static clearStore() {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { ServerDispatch } from "store";
|
||||
import { Log, StatusEnum, User } from "types";
|
||||
import { ServerDispatch } from 'store';
|
||||
import { Log, StatusEnum, User } from 'types';
|
||||
|
||||
import { sanitizeHtml } from "websocket/utils";
|
||||
import NormalizeService from "../utils/NormalizeService";
|
||||
import { sanitizeHtml } from 'websocket/utils';
|
||||
import NormalizeService from '../utils/NormalizeService';
|
||||
|
||||
export class SessionPersistence {
|
||||
static clearStore() {
|
||||
|
|
@ -74,27 +74,27 @@ export class SessionPersistence {
|
|||
}
|
||||
|
||||
static accountAwaitingActivation() {
|
||||
console.log("Open Modal for Activation Code input");
|
||||
console.log('Open Modal for Activation Code input');
|
||||
}
|
||||
|
||||
static accountActivationFailed() {
|
||||
console.log("Account activation failed, show an action here");
|
||||
console.log('Account activation failed, show an action here');
|
||||
}
|
||||
|
||||
static resetPasswordChallenge() {
|
||||
console.log("Open Modal asking for Email address associated with account");
|
||||
console.log('Open Modal asking for Email address associated with account');
|
||||
}
|
||||
|
||||
static resetPassword() {
|
||||
console.log("Open Modal asking for reset token & new password");
|
||||
console.log('Open Modal asking for reset token & new password');
|
||||
|
||||
}
|
||||
|
||||
static resetPasswordSuccess() {
|
||||
console.log("User password successfully changed Alert!");
|
||||
console.log('User password successfully changed Alert!');
|
||||
}
|
||||
|
||||
static resetPasswordFailed() {
|
||||
console.log("Open Alert telling user their password request failed for some reason");
|
||||
console.log('Open Alert telling user their password request failed for some reason');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
export { RoomPersistence } from "./RoomPersistence";
|
||||
export { SessionPersistence } from "./SessionPersistence";
|
||||
export { RoomPersistence } from './RoomPersistence';
|
||||
export { SessionPersistence } from './SessionPersistence';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue