yannickcr/eslint-plugin-react

View on GitHub

Showing 710 of 710 total issues

Avoid too many return statements within this function.
Open

      return components.add(componentNode, 1);
Severity: Major
Found in lib/util/Components.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return {};
    Severity: Major
    Found in lib/util/propTypes.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return;
      Severity: Major
      Found in lib/util/propTypes.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                  return '__COMPUTED_PROP__';
        Severity: Major
        Found in lib/util/usedPropTypes.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return node;
          Severity: Major
          Found in lib/util/Components.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                      return undefined;
            Severity: Major
            Found in lib/util/Components.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                        return true;
              Severity: Major
              Found in lib/util/jsx.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                          return null;
                Severity: Major
                Found in lib/util/Components.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return false;
                  Severity: Major
                  Found in lib/rules/jsx-fragments.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                      return 0;
                    Severity: Major
                    Found in lib/util/propTypesSort.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return isJSXValue(node.left) || isJSXValue(node.right);
                      Severity: Major
                      Found in lib/util/jsx.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                  return undefined;
                        Severity: Major
                        Found in lib/util/Components.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return false;
                          Severity: Major
                          Found in lib/util/jsx.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return;
                            Severity: Major
                            Found in lib/util/defaultProps.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return null;
                              Severity: Major
                              Found in lib/util/Components.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                          return isFirstLetterCapitalized(node.id.name) ? node : undefined;
                                Severity: Major
                                Found in lib/util/Components.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                    return unwrappedObjectNode.name === 'props' && !ast.isAssignmentLHS(node);
                                  Severity: Major
                                  Found in lib/util/usedPropTypes.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                      return false;
                                    Severity: Major
                                    Found in lib/util/isCreateContext.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                        return false;
                                      Severity: Major
                                      Found in lib/util/componentUtil.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return true;
                                        Severity: Major
                                        Found in lib/util/isDestructuredFromPragmaImport.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language