mysociety/popit-api

View on GitHub
src/app-setup.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(app, options) {
  // Pretty print json in production as well as development
  app.set('json spaces', 2);

  // Clean up requests from tools like slumber that set the Content-Type but no body
Severity: Minor
Found in src/app-setup.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status