mvader/micro-auth

View on GitHub
lib/user.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createUserModel has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createUserModel(options) {
    options = options || {};

    var userSchema = new Schema(_.merge({
        username: {type: String, trim: true},
Severity: Minor
Found in lib/user.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status