neotoma/sync-server

View on GitHub
app/lib/assertions/objectHasProperty.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(objectName, object, propertyName, propertyValue) {
  var description = objectName + ' object has property ' + propertyName;

  if (propertyValue) {
    description += ' that matches ' + typeof propertyValue;
Severity: Minor
Found in app/lib/assertions/objectHasProperty.js - About 1 hr to fix

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

    var _ = require('underscore');

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

    There are no issues that match your filters.

    Category
    Status