Skip to content

Commit

Permalink
Have test jshintrc extend project's global one
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jan 13, 2016
1 parent 31063de commit 614b4c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
5 changes: 4 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"esnext": true,
"eqnull": true,
"browser": true,
"worker": true
"worker": true,
"globals": {
"JSON": false
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"bower": "1.3.8",
"chai": "1.10.0",
"jshint": "2.5.2",
"jshint": "2.8.0",
"mocha-phantomjs": "3.5.2",
"mocha": "2.1.0",
"phantomjs": "1.9.19"
Expand Down
20 changes: 3 additions & 17 deletions test/.jshintrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
{
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": true,
"undef": true,
"unused": true,
"trailing": true,
"asi": true,
"boss": true,
"esnext": true,
"extends": "../.jshintrc",
"es3": false,
"strict": false,
"sub": true,
"eqnull": true,
"browser": true,
"worker": true,
"globals": {
"fetch": false,
"Headers": false,
Expand Down

0 comments on commit 614b4c9

Please sign in to comment.