ksmithut/mongoose-lock

View on GitHub

Showing 1 of 1 total issue

Function createdAt has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function createdAt(schema, options) {
  // http://devsmash.com/blog/implementing-max-login-attempts-with-mongoose

  // Set the default options
  options = options || {};
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language