Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix remaining Linting warnings #40

Open
november9 opened this issue Feb 6, 2017 · 0 comments
Open

Fix remaining Linting warnings #40

november9 opened this issue Feb 6, 2017 · 0 comments

Comments

@november9
Copy link
Owner

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)```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant