From c1859a24eefd0bd8b1717d148e6f566df0007f31 Mon Sep 17 00:00:00 2001 From: Aust Date: Mon, 18 Jul 2016 10:38:27 -0600 Subject: [PATCH] Add eslint config to pass tests --- ui/app/util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/util.js b/ui/app/util.js index 4655d63dc..04ebcecdb 100644 --- a/ui/app/util.js +++ b/ui/app/util.js @@ -123,6 +123,7 @@ function generateBalanceObject (formattedBalance, decimalsToKeep = 1) { var shortBalance = shortenBalance(balance, decimalsToKeep) if (beforeDecimal === '0' && afterDecimal.substr(0, 5) === '00000') { + // eslint-disable-next-line eqeqeq if (afterDecimal == 0) { balance = '0' } else {