nexxtway/react-rainbow

View on GitHub

Showing 445 of 2,739 total issues

Function Item has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Item(props) {
    const {
        label,
        icon,
        name,
Severity: Major
Found in src/components/VerticalItem/index.js - About 2 hrs to fix

    Function CarouselCard has 74 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const CarouselCard = props => {
        const {
            children,
            id,
            className,
    Severity: Major
    Found in src/components/CarouselCard/index.js - About 2 hrs to fix

      File users.js has 290 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      module.exports = [
          {
              name: 'Leandro Torres',
              company: 'Nexxtway',
              email: 'leandro@gmail.com',
      Severity: Minor
      Found in library/data/users.js - About 2 hrs to fix

        Function WeekDayPicker has 73 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        const WeekDayPicker = React.forwardRef((props, ref) => {
            const {
                id,
                name,
                value,
        Severity: Major
        Found in src/components/WeekDayPicker/index.js - About 2 hrs to fix

          Function ConsoleIcon has 72 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          const ConsoleIcon = props => {
              const { className } = props;
              return (
                  <svg className={className} width="17px" height="17px" viewBox="0 0 17 17" version="1.1">
                      <title>console</title>
          Severity: Major
          Found in library/styleguideComponents/ComponentsList/icons/consoleIcon.js - About 2 hrs to fix

            Function DateTimePickerModal has 70 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function DateTimePickerModal(props) {
                const {
                    id,
                    isOpen,
                    title,
            Severity: Major
            Found in src/components/DateTimePicker/pickerModal.js - About 2 hrs to fix

              Function Startup has 70 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              const Startup = props => {
                  const { className, style } = props;
                  return (
                      <svg
                          className={className}
              Severity: Major
              Found in library/exampleComponents/Icons/startup.js - About 2 hrs to fix

                Function Pencil has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                const Pencil = props => {
                    const { className, style } = props;
                    return (
                        <svg
                            className={className}
                Severity: Major
                Found in library/exampleComponents/Icons/pencil.js - About 2 hrs to fix

                  Function ExperiencesIcon has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  const ExperiencesIcon = props => {
                      const { className } = props;
                      return (
                          <svg className={className} width="23px" height="18px" viewBox="0 0 23 18" version="1.1">
                              <g id="pages" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
                  Severity: Major
                  Found in library/styleguideComponents/ComponentsList/icons/experiencesIcon.js - About 2 hrs to fix

                    Function StepTwo has 69 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    export default function StepTwo(props) {
                        const {
                            onProcessFile,
                            isLoading,
                            hasFileSelected,
                    Severity: Major
                    Found in src/components/ImportRecordsFlow/stepTwo/index.js - About 2 hrs to fix

                      Function Wrapper has 69 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      export default function Wrapper(props) {
                          const { children } = props;
                          const [theme, setTheme] = useCachedState('theme');
                          const pageName = window.location.hash.split('/')[1];
                          const isCustimizationPage = pageName === 'Customization';
                      Severity: Major
                      Found in library/styleguideComponents/Wrapper/index.js - About 2 hrs to fix

                        Function PathStep has 69 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        export default function PathStep(props) {
                            const { name, label, hasError, className, style } = props;
                            const {
                                selectedIndex,
                                hoveredIndex,
                        Severity: Major
                        Found in src/components/PathStep/index.js - About 2 hrs to fix

                          File dataTableExamples.js has 281 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          export const DataTable = [
                              {
                                  name: 'Leandro Torres',
                                  company: 'nexxtway',
                                  email: 'leandro@gmail.com',
                          Severity: Minor
                          Found in library/data/dataTableExamples.js - About 2 hrs to fix

                            Function useKeyboardNavigation has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            export default function useKeyboardNavigation(
                                country,
                                list,
                                ref,
                                scrollableRef,

                              Function AddRecords has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              export default function AddRecords(props) {
                                  const { className, style } = props;
                                  return (
                                      <svg
                                          className={className}
                              Severity: Major
                              Found in src/components/ImportRecordsFlow/icons/addRecords.js - About 2 hrs to fix

                                Function componentDidUpdate has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    componentDidUpdate(prevProps) {
                                        const {
                                            children: prevChildren,
                                            showCheckboxColumn: prevShowCheckboxColumn,
                                            maxRowSelection: prevMaxRowSelection,
                                Severity: Major
                                Found in src/components/Table/index.js - About 2 hrs to fix

                                  Function AccordionTimeline has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  export default function AccordionTimeline(props) {
                                      const { id, children, className, style, multiple, activeSectionNames, onToggleSection } = props;
                                      const registeredTimelineMarkers = useRef([]);
                                      const [activeNames, setActiveNames] = useState(activeSectionNames);
                                      const containerRef = useRef();
                                  Severity: Major
                                  Found in src/components/ActivityTimeline/accordionTimeline.js - About 2 hrs to fix

                                    Function FileIcon has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    export default function FileIcon() {
                                        return (
                                            <svg width="14px" height="17px" viewBox="0 0 14 17" version="1.1">
                                                <g id="components" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
                                                    <g id="Components-FileSelector-" transform="translate(-435.000000, -899.000000)">
                                    Severity: Major
                                    Found in src/components/FileSelector/icons/file.js - About 2 hrs to fix

                                      Function AdvancedSettings has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      const AdvancedSettings = props => {
                                          const { className, style } = props;
                                          return (
                                              <svg
                                                  className={className}
                                      Severity: Major
                                      Found in library/exampleComponents/Icons/advancedSettings.js - About 2 hrs to fix

                                        File index.js has 278 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        /* eslint-disable no-script-url, react/prop-types, jsx-a11y/anchor-is-valid */
                                        import React, { Component } from 'react';
                                        import PropTypes from 'prop-types';
                                        import { Consumer } from '../InternalDropdown/context';
                                        import Icon from './icon';
                                        Severity: Minor
                                        Found in src/components/Option/index.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language