Showing 6 of 55 total issues
Function outputRecord
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function outputRecord(type, record) {
const { recordTypes, keys } = this
const primaryKey = keys.primary
const isArrayKey = keys.isArray
const typeKey = this.keys.type
Function update
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
update(type, updates) {
if (!updates.length) {
return super.update()
}
Function create
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create(type, records) {
if (!records.length) {
return super.create()
}
const {redis} = this
Avoid too many return
statements within this function. Open
Open
return rec
Avoid too many return
statements within this function. Open
Open
return rec
Avoid too many return
statements within this function. Open
Open
return rec