mozilla/webmaker.org

View on GitHub
lib/middleware.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function addCSP has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports.addCSP = function (options) {
  return hood.csp({
    headers: [
      'Content-Security-Policy-Report-Only'
    ],
Severity: Major
Found in lib/middleware.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status