Pin eslint to version 3.x on travis.

This commit is contained in:
Guo Xiang Tan 2017-06-12 15:20:17 +09:00
parent 70927d57ec
commit 41365f681c

View File

@ -47,7 +47,7 @@ before_install:
- git clone --depth=1 https://github.com/discourse/discourse-cakeday.git plugins/discourse-cakeday
- git clone --depth=1 https://github.com/discourse/discourse-canned-replies.git plugins/discourse-canned-replies
- git clone --depth=1 https://github.com/discourse/discourse-slack-official.git plugins/discourse-slack-official
- yarn global add eslint babel-eslint
- yarn global add eslint@3 babel-eslint
- eslint app/assets/javascripts
- eslint --ext .es6 app/assets/javascripts
- eslint --ext .es6 test/javascripts