@samitouri / QOS-React-2 / commits / 09ca4a9c80

[Jshint] Allow Jasmine globals in *-test.js

Editors that inline lint use`.jshintrc and directly lint the open *-test.js files. This makes those linters actually useful.

Cheng Lou committed Mar 30, 2014 at 12:52 UTC 09ca4a9c800f232b9961094f6deaf9a945222511
1 file changed +9 -2
src/.jshintrc
+9 -2
@@ -24,8 +24,15 @@
24
25 "globals": {
26 "__DEV__": false,
27 - "require": false,
27 + "exports": false,
28 "module": false,
29 - "exports": false
29 + "require": false,
30 +
31 + "afterEach": false,
32 + "beforeEach": false,
33 + "describe": false,
34 + "expect": false,
35 + "it": false,
36 + "spyOn": false
37 }
38 }