Parcourir la source

Turn JSHint browser setting to false.

Szymon Cofalik il y a 9 ans
Parent
commit
dbafc5c95b

+ 0 - 1
packages/ckeditor5-heading/.jshintrc

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

+ 0 - 1
packages/ckeditor5-heading/tests/.jshintrc

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

+ 2 - 0
packages/ckeditor5-heading/tests/headings.js

@@ -3,6 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
+/* globals document */
+
 import ClassicTestEditor from '/tests/core/_utils/classictesteditor.js';
 import Headings from '/ckeditor5/headings/headings.js';
 import HeadingsEngine from '/ckeditor5/headings/headingsengine.js';

+ 1 - 1
packages/ckeditor5-heading/tests/manual/headings.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-/* global console:false */
+/* globals console:false, document, window */
 
 import ClassicEditor from '/ckeditor5/editor-classic/classic.js';