MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/actions/toast.js

Summary

Maintainability
A
2 hrs
Test Coverage
D
66%

Function toastSuccess has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

export function toastSuccess(toast, title, id, isUpdate, options) {
Severity: Minor
Found in src/actions/toast.js - About 35 mins to fix

    Function toastError has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function toastError(toast, title, id, isUpdate, options) {
    Severity: Minor
    Found in src/actions/toast.js - About 35 mins to fix

      Function toastWarning has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      export function toastWarning(toast, title, id, isUpdate, options) {
      Severity: Minor
      Found in src/actions/toast.js - About 35 mins to fix

        Function toastInfo has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        export function toastInfo(toast, title, id, isUpdate, options) {
        Severity: Minor
        Found in src/actions/toast.js - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status