Skip to content
Next Next commit
Edit .travis.yml and .eslintrc to address CI build failures
  • Loading branch information
dylangrafmyre committed Dec 2, 2015
commit 552a0de988d41895d40cbb517f4bc1bd0f9a9f9b
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language:
- ruby
rvm:
- 2.2.3
env:
- export RAILS_ENV=test
- CXX=g++-4.9
install:
- bundle install
- nvm install 5.0
Expand All @@ -10,8 +13,6 @@ install:
- npm install
- cd client && npm run build:client
- npm run build:server
env:
- export RAILS_ENV=test
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand Down
2 changes: 1 addition & 1 deletion client/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ rules:
react/no-did-update-set-state: 0
react/no-multi-comp: 2
react/no-unknown-property: 2
react/prop-types: 1
react/prop-types: 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really useful validation. There's some regression in eslint that's failing this.

At the min, we need to doc why we're doing this change temporarily.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justin808 did you read the link in my above comment about the github issue from the eslint-plugin-react. Someone familiar with the react code should look at this and see if anything new in the code has triggered this issue? Or is still a bug in the plugin. Maybe you folks can try another react-props eslint plugin?

react/react-in-jsx-scope: 2
react/require-extension: [1, { extensions: [.js, .jsx] }]
react/self-closing-comp: 2
Expand Down