balderdashy/waterline

View on GitHub
lib/waterline/methods/validate.js

Summary

Maintainability
A
1 hr
Test Coverage

Function validate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function validate(attrName, value) {

  // Verify `this` refers to an actual Sails/Waterline model.
  verifyModelMethodContext(this);

Severity: Minor
Found in lib/waterline/methods/validate.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status