mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -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,13 +1,13 @@
|
|||
// eslint-disable-next-line
|
||||
import React, { Component } from "react";
|
||||
import { Provider } from "react-redux";
|
||||
import { MemoryRouter as Router } from "react-router-dom";
|
||||
import CssBaseline from "@material-ui/core/CssBaseline";
|
||||
import { store } from "store";
|
||||
import { Provider } from 'react-redux';
|
||||
import { MemoryRouter as Router } from 'react-router-dom';
|
||||
import CssBaseline from '@material-ui/core/CssBaseline';
|
||||
import { store } from 'store';
|
||||
import { Header } from 'components';
|
||||
import Routes from "./AppShellRoutes";
|
||||
import Routes from './AppShellRoutes';
|
||||
|
||||
import "./AppShell.css";
|
||||
import './AppShell.css';
|
||||
|
||||
class AppShell extends Component {
|
||||
componentDidMount() {
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
import React from "react";
|
||||
import { Redirect, Route, Switch } from "react-router-dom";
|
||||
import React from 'react';
|
||||
import { Redirect, Route, Switch } from 'react-router-dom';
|
||||
|
||||
import { RouteEnum } from "types";
|
||||
import { RouteEnum } from 'types';
|
||||
import {
|
||||
Account,
|
||||
Decks,
|
||||
Game,
|
||||
Player,
|
||||
Room,
|
||||
Server,
|
||||
Decks,
|
||||
Game,
|
||||
Player,
|
||||
Room,
|
||||
Server,
|
||||
Login,
|
||||
Logs
|
||||
} from "containers";
|
||||
} from 'containers';
|
||||
|
||||
const Routes = () => (
|
||||
<div className="AppShell-routes overflow-scroll">
|
||||
|
|
@ -30,4 +30,4 @@ const Routes = () => (
|
|||
</div>
|
||||
);
|
||||
|
||||
export default Routes;
|
||||
export default Routes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue