pselle/choosing-javascript-framework — pull request #6 by boneskull (2014-08-04 03:32:49+00:00)
Title: resolves #5: jshint, .editorconfig, 'use strict'

resolves #5: jshint, .editorconfig, 'use strict'

- added `.jshintrc` and `.jshintrcignore` to root
- added `.editorconfig`
- using 4 spaces in `.jshintrc` and `.editorconfig` (I prefer two, but don't really care)
- added `jshint` package to node_modules. if your editor/IDE does not support jshint, you can run it:

npm install
npm test

Thereafter, just `npm test` will execute jshint against everything.

I didn't touch `ember/` or `backbone/`; I'll leave that up to you guys. One thing to note is that *you cannot use `'use strict'` safely in the browser without an IIFE*. Using it without makes the declaration global, and if a 3p lib does not support strict mode, your app will probably error out.