Selaa lähdekoodia

Compat with the new version of JSHint.

Piotrek Koszuliński 10 vuotta sitten
vanhempi
commit
86542da5d4

+ 3 - 4
packages/ckeditor5-ui/.jshintrc

@@ -4,12 +4,11 @@
 
 	"immed": true,
 	"latedef": "nofunc",
+	"loopfunc": true,
 	"noarg": true,
 	"nonbsp": true,
 	"undef": true,
 	"unused": true,
-	"strict": true,
-	"varstmt": true,
-
-	"globalstrict": true
+	"strict": "global",
+	"varstmt": true
 }

+ 1 - 0
packages/ckeditor5-ui/dev/.jshintrc

@@ -4,6 +4,7 @@
 
 	"immed": true,
 	"latedef": "nofunc",
+	"loopfunc": true,
 	"noarg": true,
 	"nonbsp": true,
 	"undef": true,

+ 2 - 3
packages/ckeditor5-ui/tests/.jshintrc

@@ -4,16 +4,15 @@
 
 	"immed": true,
 	"latedef": "nofunc",
+	"loopfunc": true,
 	"noarg": true,
 	"nonbsp": true,
 	"undef": true,
 	"unused": true,
-	"strict": true,
+	"strict": "global",
 	"expr": true,
 	"varstmt": true,
 
-	"globalstrict": true,
-
 	"globals": {
 		"after": false,
 		"afterEach": false,