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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user