apply eslint and prettier rules

This commit is contained in:
Sebastian Sdorra
2019-10-21 10:57:56 +02:00
parent 85773186db
commit 4bb8e6153b
227 changed files with 1147 additions and 4076 deletions

View File

@@ -59,13 +59,7 @@ class InfoBox extends React.Component<Props> {
<div className="box media">
<figure className="media-left">
<FixedSizedIconWrapper
className={classNames(
"image",
"box",
"has-text-weight-bold",
"has-text-white",
"has-background-info"
)}
className={classNames("image", "box", "has-text-weight-bold", "has-text-white", "has-background-info")}
>
<LightBlueIcon className="fa-2x" name={icon} color="inherit" />
<div className="is-size-4">{t("login." + type)}</div>

View File

@@ -1,13 +1,7 @@
import React from "react";
import { translate } from "react-i18next";
import styled from "styled-components";
import {
Image,
ErrorNotification,
InputField,
SubmitButton,
UnauthorizedError
} from "@scm-manager/ui-components";
import { Image, ErrorNotification, InputField, SubmitButton, UnauthorizedError } from "@scm-manager/ui-components";
type Props = {
error?: Error;
@@ -104,11 +98,7 @@ class LoginForm extends React.Component<Props, State> {
type="password"
onChange={this.handlePasswordChange}
/>
<SubmitButton
label={t("login.submit")}
fullWidth={true}
loading={loading}
/>
<SubmitButton label={t("login.submit")} fullWidth={true} loading={loading} />
</form>
</TopMarginBox>
</div>