From 259c0fd3d9dfb54d875dc1f064095ece559f611c Mon Sep 17 00:00:00 2001 From: ficristo Date: Fri, 26 Aug 2016 20:54:10 +0200 Subject: [PATCH] ESLint: enable no-bitwise rule --- .eslintrc.json | 2 +- src/utils/StringUtils.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 43c1f43ef3c..4e9117a0459 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,6 +1,6 @@ { "rules": { - "no-bitwise": 0, + "no-bitwise": 2, "curly": 2, "eqeqeq": 2, "guard-for-in": 0, diff --git a/src/utils/StringUtils.js b/src/utils/StringUtils.js index 1a9c816e0ec..1f426c86db8 100644 --- a/src/utils/StringUtils.js +++ b/src/utils/StringUtils.js @@ -25,6 +25,7 @@ @CC wiki attribution: esmiralha */ +/*eslint no-bitwise: off */ /*jslint bitwise: true */ /**