Przeglądaj źródła

Compat with new version of JSHint.

Piotrek Koszuliński 10 lat temu
rodzic
commit
ba304657cb
3 zmienionych plików z 3 dodań i 10 usunięć
  1. 2 4
      .jshintrc
  2. 1 3
      tests/.jshintrc
  3. 0 3
      tests/_utils/utils.js

+ 2 - 4
.jshintrc

@@ -8,8 +8,6 @@
 	"nonbsp": true,
 	"undef": true,
 	"unused": true,
-	"strict": true,
-	"varstmt": true,
-
-	"globalstrict": true
+	"strict": "global",
+	"varstmt": true
 }

+ 1 - 3
tests/.jshintrc

@@ -8,12 +8,10 @@
 	"nonbsp": true,
 	"undef": true,
 	"unused": true,
-	"strict": true,
+	"strict": "global",
 	"expr": true,
 	"varstmt": true,
 
-	"globalstrict": true,
-
 	"globals": {
 		"after": false,
 		"afterEach": false,

+ 0 - 3
tests/_utils/utils.js

@@ -3,9 +3,6 @@
  * For licensing, see LICENSE.md.
  */
 
-/* jshint node: false, browser: true, globalstrict: true */
-/* globals before, afterEach, sinon */
-
 'use strict';
 
 /**