From 96763cdec7defa053b9f732aea734bd6768acb84 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 20 Jan 2020 21:39:12 +0100 Subject: [PATCH] update eslint no-console rule --- .eslintrc.json | 1 + src/page/splash/view.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9ac4855..f900d96 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,6 +10,7 @@ "__": true }, "rules": { + "no-console": 2, "no-multi-spaces": 0, "new-cap": 0, "prefer-promise-reject-errors": 0, diff --git a/src/page/splash/view.js b/src/page/splash/view.js index 8ca8856..7819f88 100644 --- a/src/page/splash/view.js +++ b/src/page/splash/view.js @@ -57,7 +57,6 @@ class SplashScreen extends React.PureComponent { if (launchUrl) { navigateToUri(navigation, transformUrl(launchUrl)); } else if (lastRouteInStack) { - console.log(lastRouteInStack); // no launch url, check if there's a last route in stack to navigate to. const { route, params } = lastRouteInStack; if (!DrawerRoutes.includes(route) && isURIValid(route)) {