added eslint prettier check to travis (#5701)

- "yarn eslint" will throw the error if there are any formatting issues
- "yarn format" will format the js file based on the project's
prettier configuration.
This commit is contained in:
Kanagaraj M
2018-03-24 00:11:10 +05:30
committed by Harshavardhana
parent 020cc8b669
commit 1c91c7b54d
8 changed files with 702 additions and 445 deletions

View File

@@ -36,7 +36,7 @@ ReactDOM.render(
<App />
</Router>
</Provider>,
document.getElementById("root"),
document.getElementById("root")
)
hideLoader()

View File

@@ -58,7 +58,11 @@ export class UploadModal extends React.Component {
return (
<div className="alert alert-info alert--upload animated fadeInUp ">
<button type="button" className="close close--alt" onClick={showAbortModal}></button>
<button
type="button"
className="close close--alt"
onClick={showAbortModal}
/>
<div>{text}</div>
<ProgressBar now={percent} />
<div>