michielbdejong/solid-ui

View on GitHub

Showing 270 of 337 total issues

Avoid too many return statements within this function.
Open

  if (slash >= 0 && slash < x.uri.length) return cleanUp(s.slice(slash + 1))
Severity: Major
Found in src/utils.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return span
    Severity: Major
    Found in src/table.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return doc.createTextNode("unknown termtype '" + obj.termType + "'!")
      Severity: Major
      Found in src/table.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

          return doCap(decodeURIComponent(x.uri))
        Severity: Major
        Found in src/utils.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return linkToObject(obj, hints)
          Severity: Major
          Found in src/table.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                for (i = 0; ; i++) if (canUse(p.slice(0, 3) + i)) return pok
            Severity: Major
            Found in src/utils.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return fallbackRenderTableSelector(rows, columns, column)
              Severity: Major
              Found in src/table.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    if (canUse(p.slice(0, 1))) return pok
                Severity: Major
                Found in src/utils.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      if (canUse(p.slice(0, 5))) return pok
                  Severity: Major
                  Found in src/utils.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                              return tryParent(uri) // Keep searching
                    Severity: Major
                    Found in src/acl/acl.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        return null
                      Severity: Major
                      Found in src/authn/authn.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return callbackFunction(
                                  true,
                                  false,
                                  doc,
                                  aclDoc as $rdf.NamedNode,
                        Severity: Major
                        Found in src/acl/acl.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return callbackFunction(true, true, doc, aclDoc as $rdf.NamedNode)
                          Severity: Major
                          Found in src/acl/acl.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return null
                            Severity: Major
                            Found in src/widgets/buttons.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return { pred: 'agent', obj: obj }
                              Severity: Major
                              Found in src/acl/access-groups.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return { pred: 'originClass', obj: obj }
                                Severity: Major
                                Found in src/acl/access-groups.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                    return false // we can do better
                                  Severity: Major
                                  Found in src/widgets/buttons.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        if (pref) return { pred: 'agent', obj: sym(pref) }
                                    Severity: Major
                                    Found in src/acl/access-groups.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                        return iconDir + 'noun_10636_grey.svg' // Grey Circle -  some thing
                                      Severity: Major
                                      Found in src/widgets/buttons.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return 'shortdate:' + e
                                        Severity: Major
                                        Found in src/widgets/buttons.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language