Przeglądaj źródła

Changed JSHint configuration files: deprecated strict:true option changed to strict:global.

Szymon Kupś 10 lat temu
rodzic
commit
e64687ea97
3 zmienionych plików z 2 dodań i 7 usunięć
  1. 0 2
      .jshintrc
  2. 1 4
      tests/.jshintrc
  3. 1 1
      tests/_utils/utils.js

+ 0 - 2
.jshintrc

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

+ 1 - 4
tests/.jshintrc

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

+ 1 - 1
tests/_utils/utils.js

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