Explorar o código

Cleaned up jshint configs after enabling node&browser modes in specific directories.

Piotrek Koszuliński %!s(int64=10) %!d(string=hai) anos
pai
achega
70a5abfec4

+ 1 - 1
ckeditor.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-/* global requirejs, define, require, window, document */
+/* global requirejs, define, require */
 
 'use strict';
 

+ 0 - 2
dev/bender/plugins/ckeditor5/lib/index.js

@@ -3,8 +3,6 @@
  * For licensing, see LICENSE.md.
  */
 
-/* jshint node: true */
-
 'use strict';
 
 var path = require( 'path' );

+ 1 - 0
dev/bender/plugins/ckeditor5/static/extensions.js

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

+ 1 - 0
dev/bender/plugins/ckeditor5/static/tools.js

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

+ 0 - 2
dev/tasks/build/builder.js

@@ -3,8 +3,6 @@
  * For licensing, see LICENSE.md.
  */
 
-/* jshint node: true */
-
 'use strict';
 
 module.exports = Builder;

+ 0 - 2
tests/ckeditor/basepath.js

@@ -3,8 +3,6 @@
  * For licensing, see LICENSE.md.
  */
 
-/* globals window, document */
-
 'use strict';
 
 var modules = bender.amd.require( 'ckeditor' );