Explorar el Código

Merge remote-tracking branch 'boilerplate/ckeditor5'

Piotrek Koszuliński hace 10 años
padre
commit
7fb86aaac5
Se han modificado 7 ficheros con 16 adiciones y 11 borrados
  1. 1 0
      .jshintrc
  2. 12 0
      dev/.jshintrc
  3. 0 2
      dev/tasks/githooks.js
  4. 0 2
      dev/tasks/jscs.js
  5. 0 2
      dev/tasks/jshint.js
  6. 0 2
      dev/tasks/utils/tools.js
  7. 3 3
      tests/.jshintrc

+ 1 - 0
.jshintrc

@@ -1,4 +1,5 @@
 {
+	"browser": true,
 	"esnext": true,
 
 	"immed": true,

+ 12 - 0
dev/.jshintrc

@@ -0,0 +1,12 @@
+{
+	"node": true,
+	"esnext": true,
+
+	"immed": true,
+	"latedef": "nofunc",
+	"noarg": true,
+	"nonbsp": true,
+	"undef": true,
+	"unused": true,
+	"strict": true
+}

+ 0 - 2
dev/tasks/githooks.js

@@ -1,5 +1,3 @@
-/* jshint node: true */
-
 'use strict';
 
 module.exports = function( grunt ) {

+ 0 - 2
dev/tasks/jscs.js

@@ -1,5 +1,3 @@
-/* jshint node: true */
-
 'use strict';
 
 var tools = require( './utils/tools' );

+ 0 - 2
dev/tasks/jshint.js

@@ -1,5 +1,3 @@
-/* jshint node: true */
-
 'use strict';
 
 var tools = require( './utils/tools' );

+ 0 - 2
dev/tasks/utils/tools.js

@@ -1,5 +1,3 @@
-/* jshint node: true */
-
 'use strict';
 
 var dirtyFiles,

+ 3 - 3
tests/.jshintrc

@@ -1,6 +1,6 @@
 {
+	"browser": true,
 	"esnext": true,
-	"expr": true,
 
 	"immed": true,
 	"latedef": "nofunc",
@@ -9,6 +9,7 @@
 	"undef": true,
 	"unused": true,
 	"strict": true,
+	"expr": true,
 
 	"globalstrict": true,
 
@@ -23,7 +24,6 @@
 		"afterEach": false,
 		"expect": false,
 		"bender": false,
-		"sinon": false,
-		"setTimeout": false
+		"sinon": false
 	}
 }