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 { reset } from 'redux-form';
import { Actions } from "./rooms.actions";
import { store } from "store";
import { Actions } from './rooms.actions';
import { store } from 'store';
// const history = useHistory();
@ -8,7 +8,7 @@ export const Dispatch = {
clearStore: () => {
store.dispatch(Actions.clearStore());
},
updateRooms: rooms => {
store.dispatch(Actions.updateRooms(rooms));
},
@ -26,7 +26,7 @@ export const Dispatch = {
if (message.name) {
store.dispatch(reset('sayMessage'));
}
store.dispatch(Actions.addMessage(roomId, message));
},
@ -45,4 +45,4 @@ export const Dispatch = {
sortGames: (roomId, field, order) => {
store.dispatch(Actions.sortGames(roomId, field, order));
}
}
}