neotoma/sync-server

View on GitHub
app/controllers/item/storeAllForUserStorageSource.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

module.exports = function(user, source, storage, job, done) {
  var log = logger.scopedLog();

  var validate = (done) => {
    validateParams([{
Severity: Minor
Found in app/controllers/item/storeAllForUserStorageSource.js - About 1 hr to fix

    Function exports has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    module.exports = function(user, source, storage, job, done) {
    Severity: Minor
    Found in app/controllers/item/storeAllForUserStorageSource.js - About 35 mins to fix

      Definition for rule 'padding-line-between-statements' was not found
      Open

      var async = require('async'),

      For more information visit Source: http://eslint.org/docs/rules/

      There are no issues that match your filters.

      Category
      Status