Finally fix eslint configuration

This commit is contained in:
ErickSkrauch
2019-05-19 23:48:14 +03:00
parent 030cc70c2b
commit 52eb8f3bc7
9 changed files with 250 additions and 202 deletions

View File

@@ -1,6 +1,6 @@
export default {
content: {
background: '#fff',
padding: '50px'
}
padding: '50px',
},
};

View File

@@ -13,10 +13,11 @@ export default function Footer() {
<tr>
<td style={styles.footerText}>
<Message {...messages.footer} values={{
serviceLink:
serviceLink: (
<a href="https://account.ely.by" style={styles.footerLink}>
<Message {...messages.service_name} />
</a>
),
}} />
</td>
<td style={styles.footerLogo}>

View File

@@ -9,7 +9,7 @@ interface Props {
const Table: FunctionComponent<Props> = ({ children, style }) => (
<table cellPadding="0" cellSpacing="0" style={{
...styles.table,
...style
...style,
}}>
<tbody>
{children}

View File

@@ -6,7 +6,7 @@ const styles: { [key: string]: CSSProperties } = {
// @ts-ignore
msoTableLspace: '0pt',
msoTableRspace: '0pt',
width: '100%'
width: '100%',
},
};

View File

@@ -1,7 +1,2 @@
import Button from './button/Button';
import Input from './input/Input';
export {
Button,
Input
};
export { default as Button } from './button/Button';
export { default as Input } from './input/Input';

View File

@@ -61,7 +61,7 @@ const Register: FunctionComponent<Props> = ({ username, link, code }) => (
<HTMLMessage {...messages.choose_you_skin_image} />
<div style={{
...styles.paragraph,
...styles.todoItemText
...styles.todoItemText,
}}>
<Message {...messages.choose_you_skin_text} />
</div>
@@ -81,7 +81,7 @@ const Register: FunctionComponent<Props> = ({ username, link, code }) => (
<HTMLMessage {...messages.install_our_patch_image} />
<div style={{
...styles.paragraph,
...styles.todoItemText
...styles.todoItemText,
}}>
<Message {...messages.install_our_patch_text} />
</div>
@@ -101,7 +101,7 @@ const Register: FunctionComponent<Props> = ({ username, link, code }) => (
<HTMLMessage {...messages.useTLLauncher} />
<div style={{
...styles.paragraph,
...styles.todoItemText
...styles.todoItemText,
}}>
<Message {...messages.useTLLauncherText} />
</div>