-
Notifications
You must be signed in to change notification settings - Fork 65
code check with eslint #52
base: master
Are you sure you want to change the base?
Conversation
Hi. Thanks, I'm sure these are good fixes. However I'm not really fond of a single PR containing bugfixes, formatting changes and switching out the CI system. In fact, I'm not sure why we need to change CI at all? |
alright, i gonna separate them. |
91ea2e5
to
a343b81
Compare
the travis failure here: is due to using nodejs 0.10. I am not objected to increasing the minimum required node version to 4.x (which apparently is the minimum version having enabled es6 also in strict mode) og 6.9.x even. However others may not have that luxury... http://stackoverflow.com/questions/22603078/syntaxerror-use-of-const-in-strict-mode |
thats why i switch to machine:
node:
version: 4
test:
override:
- npm run lint && npm run test
- nvm use 0.10; npm test |
It will not increase the minimum node requirement since we can skip lint on lower version. |
Node 0.10 is simply what was the thing when I created that file, feel free to update as needed. Today I'd probably prefer circle before Travis as well, but either way works for me. Staying with Travis probably creates slightly less work for me, which is preferable from that standpoint. |
Lets increase the node version then... |
replace jshint with eslint which is more modern for js codebase.