jeremyckahn / shifty

The fastest TypeScript animation engine on the web
https://jeremyckahn.github.io/shifty/doc/
MIT License
1.54k stars 88 forks source link

comma-first and lint #19

Closed millermedeiros closed 11 years ago

millermedeiros commented 12 years ago

I know you are using Vim, did you considered running node-jshint at each file save? it will catch comma errors - Syntastic plugin is hightly recommended (it will lint files during save). I also coded a plugin to enhance the location list with useful info about the buffer.

just posting it here since when I open the files I get errors about the commas (since my lint settings are different). it would be also good to have a .jshintrc file (for node-jshint) with the lint settings of the project.

cheers

jeremyckahn commented 11 years ago

I finally added a .jshint file for linting and building. Sadly, this replaces your excellent build script, but should make the project easier to maintain.