november9 / wecansavedemocracy

A simple mobile and tablet-friendly web app to help get citizens in the habit of taking peaceful political action towards progressive causes.
GNU General Public License v3.0
10 stars 3 forks source link

Fix remaining Linting warnings #40

Open november9 opened 7 years ago

november9 commented 7 years ago

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)```