ESLint additional rules (#4186)

* Add eslint rule for consistent block padding

* Fix padding consistency issues

* Eslint test for duplicate imports

* Eslint closing bracket location

* Fix eslint jsx closing bracket

* missed a file

* Formatting

* Manual overrides for auto

* Manual overrides for auto

* More minor auto-override manual adjustments
This commit is contained in:
Jaco Greeff
2017-01-18 13:05:01 +01:00
committed by GitHub
parent d608ad2011
commit 08f80f2695
198 changed files with 1612 additions and 921 deletions

View File

@@ -58,8 +58,7 @@ export default class Title extends Component {
return (
<div className={ styles.steps }>
<Stepper
activeStep={ current }>
<Stepper activeStep={ current }>
{ this.renderTimeline() }
</Stepper>
</div>
@@ -71,8 +70,7 @@ export default class Title extends Component {
return steps.map((label, index) => {
return (
<Step
key={ label.key || index }>
<Step key={ label.key || index }>
<StepLabel>
{ label }
</StepLabel>

View File

@@ -67,7 +67,8 @@ class Modal extends Component {
current={ current }
steps={ steps }
title={ title }
waiting={ waiting } />
waiting={ waiting }
/>
);
const classes = `${styles.dialog} ${className}`;
@@ -89,7 +90,8 @@ class Modal extends Component {
repositionOnUpdate={ false }
style={ DIALOG_STYLE }
title={ header }
titleStyle={ TITLE_STYLE }>
titleStyle={ TITLE_STYLE }
>
<Container
compact={ compact }
light