johnjones4/InBrief

View on GitHub
src/ui/widgets/Calendar.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function renderEditor has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  renderEditor () {
    const tempConfig = this.getWidgetTempConfig()
    const calendarTypes = [
      {
        name: 'exchange',
Severity: Minor
Found in src/ui/widgets/Calendar.js - About 1 hr to fix

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

      renderCalendarConfig (calendar, i) {
        switch (calendar.type) {
          case 'exchange':
            return (
              <div>
    Severity: Minor
    Found in src/ui/widgets/Calendar.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status