From c8902046b835e3c61034571d48a12d84491ce121 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 13 Jun 2017 13:59:02 +0200 Subject: [PATCH] disable that one no-confusing-arrow snippet --- src/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/request.js b/src/request.js index f532c60..8d23176 100644 --- a/src/request.js +++ b/src/request.js @@ -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