[lint] turn no-undef back on, set browser, cypress, and mocha env's (#5879)

* [lint] turn no-undef back on, set browser, cypress, and mocha env's, and fix issues

* [lint] fix undefined var in TimeTable.jsx
This commit is contained in:
Chris Williams
2018-09-13 14:45:24 -07:00
committed by GitHub
parent 7098ada8c5
commit b453cd2bf2
193 changed files with 118 additions and 237 deletions

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import componentIsResizable from '../../../../src/dashboard/util/componentIsResizable';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import reorderItem from '../../../../src/dashboard/util/dnd-reorder';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import dropOverflowsParent from '../../../../src/dashboard/util/dropOverflowsParent';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import findFirstParentContainerId from '../../../../src/dashboard/util/findFirstParentContainer';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import findParentId from '../../../../src/dashboard/util/findParentId';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import getChartIdsFromLayout from '../../../../src/dashboard/util/getChartIdsFromLayout';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import getDashboardUrl from '../../../../src/dashboard/util/getDashboardUrl';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import getDetailedComponentWidth from '../../../../src/dashboard/util/getDetailedComponentWidth';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import getDropPosition, {

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import getFormDataWithExtraFilters from '../../../../src/dashboard/util/charts/getFormDataWithExtraFilters';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import isValidChild from '../../../../src/dashboard/util/isValidChild';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import newComponentFactory from '../../../../src/dashboard/util/newComponentFactory';

View File

@@ -1,4 +1,3 @@
import { describe, it } from 'mocha';
import { expect } from 'chai';
import newEntitiesFromDrop from '../../../../src/dashboard/util/newEntitiesFromDrop';