tomchentw/react-toastr

View on GitHub

Showing 218 of 289 total issues

Avoid too many return statements within this function.
Open

          if ("`" == n) return (t.tokenize = tokenQuasi), tokenQuasi(e, t)
Severity: Major
Found in docs/build/0.320b8cca.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return null == m ||
              (r > 0 && m == t.text.length) ||
              !(g = f(r > 0 ? 0 : o.length - 1, r, c(m)))
              ? null
              : g
    Severity: Major
    Found in docs/build/0.320b8cca.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                if ("=" == n && e.eat(">")) return ret("=>", "operator")
      Severity: Major
      Found in docs/build/0.320b8cca.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return ret("async", "keyword", r)
        Severity: Major
        Found in docs/build/0.320b8cca.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                        if (a.alignCDATA && /<!\[CDATA\[/.test(n)) return 0
          Severity: Major
          Found in docs/build/0.320b8cca.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return n.ch == f && n.sticky == g ? t : new ve(new Pos(n.line, f, g), r)
            Severity: Major
            Found in docs/build/0.320b8cca.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return e.eat("*")
                            ? ((t.tokenize = tokenComment), tokenComment(e, t))
                            : e.eat("/")
                              ? (e.skipToEnd(), ret("comment", "comment"))
                              : expressionAllowed(e, t, 1)
              Severity: Major
              Found in docs/build/0.320b8cca.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return (
                              (">" == n && t.lexical && ">" == t.lexical.type) ||
                                (e.eat("=")
                                  ? ("!" != n && "=" != n) || e.eat("=")
                                  : /[<>*+\-]/.test(n) && (e.eat(n), ">" == n && e.eat(n))),
                Severity: Major
                Found in docs/build/0.320b8cca.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                if (n.match("/*")) return (a.depth = 2), token(n, i)
                  Severity: Major
                  Found in docs/build/0.320b8cca.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return e.eatWhile(/[0-7]/i), ret("number", "number")
                    Severity: Major
                    Found in docs/build/0.320b8cca.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return (
                                    e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),
                                    ret("number", "number")
                                  )
                      Severity: Major
                      Found in docs/build/0.320b8cca.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return e.eatWhile(/[\da-f]/i), ret("number", "number")
                        Severity: Major
                        Found in docs/build/0.320b8cca.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return ret("variable", "variable", r)
                          Severity: Major
                          Found in docs/build/0.320b8cca.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                          return o ? o.indent + i : t.baseIndent || 0
                            Severity: Major
                            Found in docs/build/0.320b8cca.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          if (a) return a
                              Severity: Major
                              Found in docs/build/0.320b8cca.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                          return (
                                            runInOp(t, function() {
                                              applyTextInput(
                                                t,
                                                o.slice(l),
                                Severity: Major
                                Found in docs/build/0.320b8cca.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return badPos(Pos(u.line, u.ch + f), o)
                                  Severity: Major
                                  Found in docs/build/0.320b8cca.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return e.eatWhile(/[01]/i), ret("number", "number")
                                    Severity: Major
                                    Found in docs/build/0.320b8cca.js - About 30 mins to fix
                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language