hunterlong/statup

View on GitHub
frontend/src/codemirror_json.js

Summary

Maintainability
A
2 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

      } else if (stream.match(".Id") || stream.match(".Domain") || stream.match(".CreatedAt") ||
        stream.match(".Name") || stream.match(".Downtime.Human") || stream.match(".Issue") || stream.match(".LastStatusCode") ||
        stream.match(".Port") || stream.match(".FailuresLast24Hours") || stream.match(".PingTime")) {
        return "var-sub-highlight"
      } else if (stream.match("{{") || stream.match("}}")) {
Severity: Critical
Found in frontend/src/codemirror_json.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status