Skip to content

Commit

Permalink
[Jshint] Allow Jasmine globals in *-test.js
Browse files Browse the repository at this point in the history
Editors that inline lint use`.jshintrc and directly lint the open
*-test.js files. This makes those linters actually useful.
  • Loading branch information
chenglou committed Mar 30, 2014
1 parent 70a8c55 commit 09ca4a9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@

"globals": {
"__DEV__": false,
"require": false,
"exports": false,
"module": false,
"exports": false
"require": false,

"afterEach": false,
"beforeEach": false,
"describe": false,
"expect": false,
"it": false,
"spyOn": false
}
}

0 comments on commit 09ca4a9

Please sign in to comment.