Skip to content

Fix remaining Linting warnings #40

@november9

Description

@november9

At the time of this comment, here are the issues I'm seeing, which could require breaking some files up (which I should have done in the first place, admittedly).

/Users/DoronHomeFolder/Sites/wecansavedemocracy-test/src/components/CalendarPickerButtons/calendarPickerButtons.js (0/5)
  !  32:11  JSX props should not use arrow functions  react/jsx-no-bind
  !  39:11  JSX props should not use arrow functions  react/jsx-no-bind
  !  46:11  JSX props should not use arrow functions  react/jsx-no-bind
  !  53:11  JSX props should not use arrow functions  react/jsx-no-bind
  !  60:11  JSX props should not use arrow functions  react/jsx-no-bind

/Users/DoronHomeFolder/Sites/wecansavedemocracy-test/src/containers/ActivitiesList/individual_activity.js (0/1)
  !  128:13  JSX props should not use arrow functions  react/jsx-no-bind

/Users/DoronHomeFolder/Sites/wecansavedemocracy-test/src/containers/FindRep/findRepresentative.js (0/5)
  !  170:15  JSX props should not use arrow functions  react/jsx-no-bind
  !  176:15  JSX props should not use arrow functions  react/jsx-no-bind
  !  244:9   Empty components are self-closing         react/self-closing-comp
  !  246:40  JSX props should not use .bind()          react/jsx-no-bind
  !  265:17  JSX props should not use arrow functions  react/jsx-no-bind

/Users/DoronHomeFolder/Sites/wecansavedemocracy-test/src/containers/FindRep/renderRepData.js (0/5)
  !   90:8   Declare only one React component per file     react/no-multi-comp
  !  120:8   Declare only one React component per file     react/no-multi-comp
  !  160:8   Declare only one React component per file     react/no-multi-comp
  !  170:8   Declare only one React component per file     react/no-multi-comp
  !  179:98  'officialKey' is missing in props validation  react/prop-types

! 16 warnings (10:04:50 PM)```

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions