mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Fix eslint errors with in-file comments
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
// Declare some globals to make eslint happier.
|
||||
// TODO: make an eslint config that applies to this directory and put this
|
||||
// configuration in that file, instead of inline.
|
||||
/* global suite, test, chai, setup, teardown */
|
||||
/* global suite, test, setup, teardown */
|
||||
|
||||
/* global assertFalse, assertTrue, assertNull, assertEquals */
|
||||
/* global assertNull, assertEquals */
|
||||
|
||||
suite('Blocks', function() {
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
/* global suite, test, setup, teardown */
|
||||
/* global sinon */
|
||||
|
||||
/* global assertNotNull, assertNotUndefined, assertNull, assertEquals, isEqualArrays, assertUndefined */
|
||||
/* global assertNotNull, assertNotUndefined, assertNull, assertEquals,
|
||||
isEqualArrays, assertUndefined */
|
||||
suite('Events', function() {
|
||||
setup(function() {
|
||||
this.workspace = new Blockly.Workspace();
|
||||
|
||||
@@ -3,9 +3,8 @@
|
||||
// TODO: make an eslint config that applies to this directory and put this
|
||||
// configuration in that file, instead of inline.
|
||||
/* global suite, test, chai, setup, teardown */
|
||||
/* global sinon */
|
||||
|
||||
/* global assertFalse, assertTrue, assertNull, assertEquals, isEqualArrays */
|
||||
/* global assertNull, assertEquals, isEqualArrays */
|
||||
|
||||
suite('Variable Fields', function() {
|
||||
function getMockBlock(workspace) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/* global chai */
|
||||
|
||||
/* exported assertEquals, assertTrue, assertFalse, assertNull, assertNotNull,
|
||||
isEqualArrays, assertUndefined, assertNotUndefined */
|
||||
function _argumentsIncludeComments(expectedNumberOfNonCommentArgs, args) {
|
||||
return args.length == expectedNumberOfNonCommentArgs + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user