瀏覽代碼

Moved specific configs to the config files. Avoid scattering them around.

Piotrek Koszuliński 10 年之前
父節點
當前提交
983cd8db36
共有 2 個文件被更改,包括 9 次插入6 次删除
  1. 9 1
      packages/ckeditor5-ui/.jshintrc
  2. 0 5
      packages/ckeditor5-ui/gruntfile.js

+ 9 - 1
packages/ckeditor5-ui/.jshintrc

@@ -9,5 +9,13 @@
 	"unused": true,
 	"strict": true,
 
-	"globalstrict": true
+	"globalstrict": true,
+
+	"globals": {
+		"CKEDITOR": false,
+		"bender": false
+	},
+	"predef": [
+		"-Promise"
+	]
 }

+ 0 - 5
packages/ckeditor5-ui/gruntfile.js

@@ -32,11 +32,6 @@ module.exports = function( grunt ) {
 
 		jshint: {
 			options: {
-				globals: {
-					'CKEDITOR': false,
-					'bender': false
-				},
-				predef: [ '-Promise' ],
 				ignores: ignoreFiles
 			}
 		},