commit d1debdfc70b9be1be66998b8dbbcab570c45a645
parent 587abbbf37b1c2592eea3fdd05c76b2066827b98
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Sun, 1 Dec 2019 21:29:08 +0100
remove lint disabling comments for RELEASE_VER
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/index.js b/src/index.js
@@ -20,10 +20,8 @@ function getUid() {
return uid;
}
-/* eslint-disable no-undef */
if (NODE_ENV === 'production') {
Raven.config(config.sentryDSN, {release: RELEASE_VER}).install();
-/* eslint-enable no-undef */
}
const oldOnunhandledrejection = window.onunhandledrejection;
@@ -43,9 +41,7 @@ window.onunhandledrejection = (e) => {
return result;
};
-/* eslint-disable no-undef */
console.log('Version:', RELEASE_VER);
-/* eslint-enable no-undef */
let uid;
try {uid = getUid()} catch (e) {}