Fix eslint errors with in-file comments

This commit is contained in:
Rachel Fenichel
2019-01-08 11:54:57 -08:00
parent 192b2f9415
commit 298b93c025
4 changed files with 7 additions and 6 deletions

View File

@@ -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() {

View File

@@ -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();

View File

@@ -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) {

View File

@@ -1,5 +1,6 @@
/* global chai */
/* exported assertEquals, assertTrue, assertFalse, assertNull, assertNotNull,
isEqualArrays, assertUndefined, assertNotUndefined */
function _argumentsIncludeComments(expectedNumberOfNonCommentArgs, args) {
return args.length == expectedNumberOfNonCommentArgs + 1;
}