updated jshint config to use 'node: true' at the root of the project, and switch to 'node: false' within the test and src dirs

This commit is contained in:
Spencer Alger 2014-03-04 11:54:56 -07:00
parent 13baa44e98
commit 5b9d739036
3 changed files with 10 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"unused": false,
"browser": true,
"node": false,
"browser": false,
"node": true,
"globals": {
"define": true,

5
src/.jshintrc Normal file
View file

@ -0,0 +1,5 @@
{
"extends": "../.jshintrc",
"browser": true,
"node": false
}

View file

@ -1,5 +1,5 @@
{
"extends": "../.jshintrc",
"extends": "../src/.jshintrc",
"white": false,
@ -14,6 +14,7 @@
"before": true,
"after": true,
"expect": true,
"define": true
"define": true,
"require": true
}
}