src/models/validators/requireEmpty.js

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

  if (value === null
    || value === undefined
    || value === ''
    || (Array.isArray(value) && value.length === 0)
    || (value.constructor === Object && Object.keys(value).length === 0)) {
Severity: Major
Found in src/models/validators/requireEmpty.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status