Linted everything, removed semistandard

This commit is contained in:
Angelos Chalaris
2018-10-18 23:38:01 +03:00
parent e99dc7ab08
commit 4270fa9a3d
27 changed files with 55 additions and 194 deletions

View File

@ -10,9 +10,9 @@ const dig = (obj, target) =>
target in obj
? obj[target]
: Object.values(obj).reduce((acc, val) => {
if (acc !== undefined) return acc;
if (typeof val === 'object') return dig(val, target);
}, undefined);
if (acc !== undefined) return acc;
if (typeof val === 'object') return dig(val, target);
}, undefined);
```
```js