Enable curly and block-spacing eslint rules

This commit is contained in:
Quincy Morgan
2020-11-10 14:19:11 -05:00
parent d247ec3aed
commit ba48a861bc
24 changed files with 138 additions and 107 deletions
+2 -1
View File
@@ -213,8 +213,9 @@ export function coreDifference(base, head) {
if (extent &&
(!h || !h.intersects(extent, head)) &&
(!b || !b.intersects(extent, base)))
(!b || !b.intersects(extent, base))) {
continue;
}
result[id] = h;
+1 -2
View File
@@ -143,8 +143,7 @@ coreGraph.prototype = {
for (i = 0; i < entities.length; i++) {
var entity = entities[i];
if (!entity.visible || (!force && base.entities[entity.id]))
continue;
if (!entity.visible || (!force && base.entities[entity.id])) continue;
// Merging data into the base graph
base.entities[entity.id] = entity;