mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
workspace: add eslint-config package (#510)
This commit is contained in:
1 parent
e7945a104f
commit
65311529bd
28 files changed
+230
-267
No files matched your search
@@ -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 = {};
|
||||
|
||||
|
||||
Reference in new issue
Block a user