Bladeren bron

Compat with the new version of JSHint.

Piotrek Koszuliński 10 jaren geleden
bovenliggende
commit
86542da5d4
3 gewijzigde bestanden met toevoegingen van 6 en 7 verwijderingen
  1. 3 4
      packages/ckeditor5-ui/.jshintrc
  2. 1 0
      packages/ckeditor5-ui/dev/.jshintrc
  3. 2 3
      packages/ckeditor5-ui/tests/.jshintrc

+ 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,