diff --git a/.eslintrc.json b/.eslintrc.json
index 61b024262d1acc3c4f46d61e99fcaa8952d80f84..75507b37c9e9e73511fd65d861bf4be2c94f8ab3 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -51,7 +51,8 @@
         }],
         "space-before-function-paren": "off",
         "func-call-spacing": "off",
-        "no-multi-spaces": "error"
+        "no-multi-spaces": "error",
+        "block-spacing": "error"
     },
     "overrides": [
         {
diff --git a/src/mol-util/zip/huffman.ts b/src/mol-util/zip/huffman.ts
index e3ce56cf80aa33e8c0b6e81b30d087d0ce63c160..16d5263b49f24dd6e49ddde7e4c41af4a4c9447d 100644
--- a/src/mol-util/zip/huffman.ts
+++ b/src/mol-util/zip/huffman.ts
@@ -32,7 +32,7 @@ export function _hufTree(hst: NumberArray, tree: number[], MAXL: number) {
         tree[(l2 << 1) + 1] = 1;
         return 1;
     }
-    list.sort(function (a, b){return a.f - b.f;});
+    list.sort(function (a, b){ return a.f - b.f; });
     let a = list[0], b = list[1], i0 = 0, i1 = 1, i2 = 2;
     list[0] = {
         lit: -1,
@@ -80,7 +80,7 @@ function setDepth(t: HufTree, d: number): number {
 function restrictDepth(dps: HufTree[], MD: number, maxl: number) {
     let i = 0, dbt = 0;
     const bCost = 1 << (maxl - MD);
-    dps.sort(function (a: HufTree, b: HufTree){return b.d === a.d ? a.f - b.f : b.d - a.d;});
+    dps.sort(function (a: HufTree, b: HufTree){ return b.d === a.d ? a.f - b.f : b.d - a.d; });
 
     for(i = 0; i < dps.length; i++) {
         if(dps[i].d > MD) {