Fix ESLint newline-per-chained-call

[MAILPOET-1031]
This commit is contained in:
Pavel Dohnal
2017-08-30 14:30:48 +02:00
parent cf992852b5
commit c1ccacf851
2 changed files with 6 additions and 3 deletions

View File

@@ -64,7 +64,6 @@
"space-in-parens": 0,
"no-case-declarations": 0,
"array-bracket-spacing": 0,
"newline-per-chained-call": 0,
"no-else-return": 0,
"max-len": 0,
"no-useless-concat": 0,

View File

@@ -162,7 +162,9 @@ define(
}
}).fail(this._showError);
}
}).fail(this._showError).always(() => {
})
.fail(this._showError)
.always(() => {
this.setState({ loading: false });
});
}
@@ -196,7 +198,9 @@ define(
);
}
});
}).fail(this._showError).always(() => {
})
.fail(this._showError)
.always(() => {
this.setState({ loading: false });
});
}