diff options
author | bobzel <zzzman@gmail.com> | 2024-09-30 15:03:57 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-30 15:03:57 -0400 |
commit | 07f525dc8eef3fdedc476af1a98b5bb35314b6c6 (patch) | |
tree | 1281a27c439228a11a6bb89c33c2dfddf6f6cddc /src/fields/Doc.ts | |
parent | dd95b5030ec2d66d5e02acf2140a2e48fd77f739 (diff) |
cleaned up some lint errors.
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index b8025cac4..90ecc7f56 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -335,7 +335,6 @@ export class Doc extends RefField { if (!id || forceSave) { DocServer.CreateDocField(docProxy); } - // eslint-disable-next-line no-constructor-return return docProxy; // need to return the proxy from the constructor so that all our added fields will get called } @@ -463,7 +462,6 @@ export class Doc extends RefField { } } -// eslint-disable-next-line no-redeclare export namespace Doc { export let SelectOnLoad: Doc | undefined; export function SetSelectOnLoad(doc: Doc | undefined) { @@ -659,7 +657,6 @@ export namespace Doc { if (reversed) list.splice(0, 0, doc); else list.push(doc); } else { - // eslint-disable-next-line no-lonely-if if (reversed) list.splice(before ? list.length - ind + 1 : list.length - ind, 0, doc); else list.splice(before ? ind : ind + 1, 0, doc); } @@ -1191,7 +1188,6 @@ export namespace Doc { return Cast(Doc.UserDoc().myLinkDatabase, Doc, null); } export function SetUserDoc(doc: Doc) { - // eslint-disable-next-line no-return-assign return (manager._user_doc = doc); } |