diff --git a/.eslintrc.json b/.eslintrc.json index 23a38ed5a21d4753b46e50e59f61f35482795290..dde918ed0226c3a2429bdb240ed923a367819a23 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -49,7 +49,8 @@ "destructuring": "all", "ignoreReadBeforeAssign": false }], - "space-before-function-paren": "off" + "space-before-function-paren": "off", + "func-call-spacing": "off" }, "overrides": [ { @@ -105,7 +106,8 @@ "anonymous": "always", "named": "never", "asyncArrow": "always" - }] + }], + "@typescript-eslint/func-call-spacing": ["error"] } } ] diff --git a/src/mol-data/generic/_spec/linked-list.spec.ts b/src/mol-data/generic/_spec/linked-list.spec.ts index 825c2563aa3a027007414339b778cfb4bd0cf295..2925be517f936307ee1af99037f4047d11984ee0 100644 --- a/src/mol-data/generic/_spec/linked-list.spec.ts +++ b/src/mol-data/generic/_spec/linked-list.spec.ts @@ -33,7 +33,7 @@ describe('linked list', () => { expect(list.count).toBe(5); }); - it ('remove', () => { + it('remove', () => { const list = create([1, 2, 3, 4]); const fst = list.removeFirst(); expect(fst).toBe(1); diff --git a/src/mol-util/zip/util.ts b/src/mol-util/zip/util.ts index b60361d130f8a79586a750d333d72f0d90beab4c..0cb19cc589403ae2a1bdb790f283e774e957367c 100644 --- a/src/mol-util/zip/util.ts +++ b/src/mol-util/zip/util.ts @@ -66,13 +66,13 @@ export const U = (function (){ */ makeCodes(U.fltree, 9); codes2map(U.fltree, 9, U.flmap); - revCodes (U.fltree, 9); + revCodes(U.fltree, 9); pushV(U.fdtree, 32, 5); // for(i=0;i<32; i++) U.fdtree.push(0,5); makeCodes(U.fdtree, 5); codes2map(U.fdtree, 5, U.fdmap); - revCodes (U.fdtree, 5); + revCodes(U.fdtree, 5); pushV(U.itree, 19, 0); pushV(U.ltree, 286, 0); pushV(U.dtree, 30, 0); pushV(U.ttree, 320, 0); /*