workspace: add eslint-config package (#510)

This commit is contained in:
undefined authored and GitHub committed 2023-02-09 23:06:03 +08:00
1 parent e7945a104f
commit 65311529bd
28 files changed
+230 -267

No files matched your search

-2
View File
@@ -67,7 +67,6 @@ export async function pipeStream(read, write, abort) {
}
// https://github.com/andrasq/node-mongoid-js/blob/master/mongoid.js
/* eslint-disable */
export function mongoId(idstring: string) {
if (typeof idstring !== 'string') idstring = String(idstring);
return {
@@ -77,7 +76,6 @@ export function mongoId(idstring: string) {
sequence: parseInt(idstring.slice(18, 18 + 6), 16),
};
}
/* eslint-enable */
const loaded = {};