Run eslint instead of jshint, remove rbx

This commit is contained in:
Robin Ward 2015-08-13 15:22:33 -04:00
parent a89241f0b9
commit 9b7c4023e8
2 changed files with 7 additions and 5 deletions

View file

@ -23,7 +23,6 @@ rvm:
- 2.0.0
- 2.1
- 2.2
- rbx-2
services:
- redis-server
@ -33,8 +32,11 @@ sudo: false
cache: bundler
before_install:
- npm i -g jshint
- jshint .
- npm i -g eslint babel-eslint
- eslint app/assets/javascripts
- eslint --ext .es6 app/assets/javascripts
- eslint --ext .es6 test/javascripts
- eslint test/javascripts
before_script:
- bundle exec rake db:create db:migrate

View file

@ -35,8 +35,8 @@ task 'docker:test' do
end
unless ENV["RUBY_ONLY"]
@good &&= run_or_fail("eslint app/assets/javascripts")
@good &&= run_or_fail("eslint --ext \".es6\" app/assets/javascripts")
@good &&= run_or_fail("eslint --ext \".es6\" test/javascripts")
@good &&= run_or_fail("eslint --ext .es6 app/assets/javascripts")
@good &&= run_or_fail("eslint --ext .es6 test/javascripts")
@good &&= run_or_fail("eslint test/javascripts")
@good &&= run_or_fail("bundle exec rake qunit:test")
end