Enforce semicolons in eslint

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 16:35:04 +02:00
1 parent 0f3f5611ba
commit 1477bb8274
531 files changed
+3979 -3975

No files matched your search

+1 -1
View File
@@ -1 +1 @@
export * from './wizard'
export * from './wizard';
+4 -4
View File
@@ -48,7 +48,7 @@ export class Wizard extends React.Component<WizardProps, State> {
isLast: this.isLastStep,
...commonProps,
...stepProps
} as WizardStepProps<any>)
} as WizardStepProps<any>);
});
}
@@ -80,7 +80,7 @@ export class Wizard extends React.Component<WizardProps, State> {
render() {
const { className, title, header, hideSteps } = this.props;
const steps = this.steps.map(stepElem => ({ title: stepElem.props.title }))
const steps = this.steps.map(stepElem => ({ title: stepElem.props.title }));
const step = React.cloneElement(this.steps[this.step - 1]);
return (
<div className={cssNames("Wizard", className)}>
@@ -182,7 +182,7 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
<div className="step-loading flex center">
<Spinner/>
</div>
)
);
}
render() {
@@ -225,6 +225,6 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
)}
{afterContent}
</form>
)
);
}
}