disable that one no-confusing-arrow snippet

This commit is contained in:
Matthias Kretschmann 2017-06-13 13:59:02 +02:00
parent 955a5af4fd
commit c8902046b8
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export default function request(url, config = {}, onlyJsonResponse = true) {
}
return baseRequest(apiUrl, requestConfig)
.then(res => onlyJsonResponse ? res.json() :
.then((res) => onlyJsonResponse ? res.json() : // eslint-disable-line no-confusing-arrow
{
json: res.json(),
url: res.url