Made eslint using 'browser' environment and added globals, because RainLoop is used in browsers.

This also allowed to remove all webpack 'externals' overhead.
This commit is contained in:
djmaze 2020-08-12 00:25:36 +02:00
parent c3a213802d
commit e7180a86ce
81 changed files with 1857 additions and 1259 deletions

View file

@ -1,6 +1,6 @@
import ko from 'ko';
import { isNonEmptyArray, log } from 'Common/Utils';
import { isNonEmptyArray } from 'Common/Utils';
import { AbstractModel } from 'Knoin/AbstractModel';
@ -45,7 +45,7 @@ class OpenPgpKeyModel extends AbstractModel {
return key;
}
} catch (e) {
log(e);
console.log(e);
}
return null;