jshint: add .jshintrc / .jshintignore files
authorTimo Tijhof <ttijhof@wikimedia.org>
Tue, 3 Jul 2012 07:33:51 +0000 (09:33 +0200)
committerTimo Tijhof <ttijhof@wikimedia.org>
Tue, 3 Jul 2012 15:26:59 +0000 (17:26 +0200)
commitfe5fa2d0b1c74fe57423e6b597bb59e28a25b12b
tree9fc9585de7962a465bfc0cb4b23d776a387713db
parent27a4d74bd7e98ae6c7f65a1d2dd2d5f01927bd76
jshint: add .jshintrc / .jshintignore files

* More commits to follow that further fine-tune the settings and fix
  lint errors in the actual files.

* Quick how-to on how to use jshint from the command-line interface:
 - Prerequisites: node and npm
   http://nodejs.org/
   http://npmjs.org/

 - `$ npm install -g jshint`
   https://github.com/jshint/node-jshint/

 - Done!
   All: `/mediawiki/core$ jshint .`
   Dir: `/mediawiki/core$ jshint resources`
   Dir: `/mediawiki/core$ jshint resources/jquery`
   File(s): `/mediawiki/core$ jshint resources/startup.js resources/mediawiki/mediawiki.js`

Change-Id: Ia9297cb72c8faa7543ccfbdf48c7ee4e8af4ae17
.jshintignore [new file with mode: 0644]
.jshintrc [new file with mode: 0644]