Showing 62 of 64 total issues
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['objectId'],
}
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['array'],
items: deepmerge.all(doc.map(generate)) as Schema,
}
Avoid too many return
statements within this function. Open
Open
return `[${val
.map((v) => `${stringify(v, hasIndent, depth + storage.tabSize.get)}`)
.join(', ')}]`
Avoid too many return
statements within this function. Open
Open
return `{\n${entries
.map(
([key, value]) =>
`${extraSpaces}${spaces}${wrapKey(key)}: ${stringify(
value,
Avoid too many return
statements within this function. Open
Open
return <IndexFeatures value={props.item} />
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['long'],
}
Avoid too many return
statements within this function. Open
Open
return 'null'
Avoid too many return
statements within this function. Open
Open
return val.$numberDouble
Avoid too many return
statements within this function. Open
Open
return `MaxKey()`
Avoid too many return
statements within this function. Open
Open
return undefined
Avoid too many return
statements within this function. Open
Open
return '{}'
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['decimal'],
}
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['minKey'],
}
Avoid too many return
statements within this function. Open
Open
return storage.timezoneOffset
? `Date("${formatDate(parseInt(val.$date.$numberLong, 10))}")`
: `ISODate("${new Date(
parseInt(val.$date.$numberLong, 10),
).toISOString()}")`
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['object'],
properties: mapValues(omit(doc, ['__v']), generate) as {
[key: string]: Schema
},
Avoid too many return
statements within this function. Open
Open
return <IndexInfo value={props.item} />
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['regex'],
}
Avoid too many return
statements within this function. Open
Open
return {
bsonType: ['binData'],
}
Avoid too many return
statements within this function. Open
Open
return `ObjectId("${val.$oid}")`
Avoid too many return
statements within this function. Open
Open
return `/${val.$regularExpression.pattern}/${
val.$regularExpression.options || ''
}`