wbyoung/admit-one

View on GitHub

Showing 3 of 10 total issues

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

module.exports = function(adapter, middleware, opts) {
  var users = adapter.users;

  /**
   * User creation middleware.
Severity: Minor
Found in lib/middleware/create.js - About 1 hr to fix

    Function exports has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function(adapter/*, middleware, opts*/) {
      var users = adapter.users;
    
      /**
       * Middleware for invalidating session
    Severity: Minor
    Found in lib/middleware/invalidate.js - About 1 hr to fix

      Function exports has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      module.exports = function(adapter, middleware, opts) {
        var users = adapter.users;
        var attrs = adapter.attrs;
      
        /**
      Severity: Minor
      Found in lib/middleware/extract.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language