Add jshint configuration.

Disable "undef" rule because unit-tests are referencing global variables
defined in test/support.js, which jshint cannot pick up.
This commit is contained in:
Miroslav Bajtos 2013-11-20 09:20:10 +01:00
parent ada52cf138
commit 984b728cdf
1 changed files with 13 additions and 0 deletions

13
.jshintrc Normal file
View File

@ -0,0 +1,13 @@
{
"node": true,
"camelcase" : true,
"eqnull" : true,
"indent": 2,
"undef": true,
"quotmark": "single",
"maxlen": 80,
"trailing": true,
"newcap": true,
"nonew": true,
"undef": false
}