neotoma/sync-server

View on GitHub
app/lib/jsonapi/resourceObjectFromDocument.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

module.exports = function(document) {
  if (!document) {
    throw new Error('No document provided');
  }

Severity: Major
Found in app/lib/jsonapi/resourceObjectFromDocument.js - About 2 hrs to fix

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

    var _ = require('app/lib/lodash');

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

    There are no issues that match your filters.

    Category
    Status