ksmithut/mongoose-lock

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status