mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Run eslint instead of jshint, remove rbx
This commit is contained in:
parent
a89241f0b9
commit
9b7c4023e8
2 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue