Remove TSLint
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
This commit is contained in:
parent
be705bc312
commit
dabab60f56
42 changed files with 31 additions and 394 deletions
|
@ -273,10 +273,8 @@ function _cleanData(data: any, path = 'root') {
|
|||
|
||||
if (isFunction(value)) {
|
||||
// To prepare for Electron v9 IPC, we need to take functions off of any object
|
||||
// tslint:disable-next-line no-dynamic-delete
|
||||
delete data[key];
|
||||
} else if (isFunction(value.toNumber)) {
|
||||
// tslint:disable-next-line no-dynamic-delete
|
||||
data[key] = value.toNumber();
|
||||
} else if (Array.isArray(value)) {
|
||||
data[key] = value.map((item, mapIndex) =>
|
||||
|
@ -398,7 +396,6 @@ function _removeJob(id: number) {
|
|||
return;
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-dynamic-delete
|
||||
delete _jobs[id];
|
||||
|
||||
if (_shutdownCallback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue